gm107/ir: AL2P writes to a predicate register
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 10 Sep 2016 16:53:37 +0000 (12:53 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 10 Sep 2016 17:36:20 +0000 (13:36 -0400)
commita22aee5ad1154918aff77af5102fecd2aa39a631
tree8fe2f4a99fbf39a9dd2e2f48df37c5d3f2dd1dd8
parent83e8617f4b13e75f44ba45dd156c0656a5e07b08
gm107/ir: AL2P writes to a predicate register

We have to force it to write to predicate 7 (aka PT) in order for it not
to mess up another predicate. Unclear what would be returned in the
predicate, perhaps an error code for out-of-bounds requests. Blob
doesn't seem to check it.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Cc: mesa-stable@lists.freedesktop.org
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp