nvc0/ir: fix predicated PFETCH emission
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 30 Apr 2015 03:05:44 +0000 (23:05 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 30 Apr 2015 03:34:22 +0000 (23:34 -0400)
commita9d08a250ada5fbd4e3f78f8e4119ec295d692cf
tree6c60be14481cfdff19a27fbc434b46b17c4ef41a
parent515ac907e68ae1485bd9c65d7351dfb3c3d1e33f
nvc0/ir: fix predicated PFETCH emission

src1 would contain the predicate, which would get emitted as a register
source by an undiscerning srcId helper. Work around this in the same way
as in emitTEX.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp