nvc0/ir: fix converting between predicate and gpr
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 5 Feb 2016 03:58:48 +0000 (22:58 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 5 Feb 2016 05:41:33 +0000 (00:41 -0500)
commit1a0fde1f52c59e0dbada03f387c8e25d9475ebbe
treed038162846770c289cecf0ab7f17200fc6282658
parent2fed18b8a54319f22888e3761a6ed5cd85f9688c
nvc0/ir: fix converting between predicate and gpr

The spill logic will insert convert ops when moving between files. It
seems like the emission logic wasn't quite ready for these converts.

Tested on fermi, and visually looked at nvdisasm output for maxwell.

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_gm107.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp