nv50/ir: allow immediate 0 to be loaded anywhere
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 1 Dec 2015 20:01:11 +0000 (15:01 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 2 Dec 2015 23:51:15 +0000 (18:51 -0500)
commit52a800a687ee68483fe7cd83b137630b74e2127b
tree6fa898797b2099afc3b868ed89eeb415b07df4ea
parent043d4275388ddb5d45f52344a2e3a5e366c91f19
nv50/ir: allow immediate 0 to be loaded anywhere

There's a post-RA fixup to replace 0's with $r63 (or $r127 if too many
regs are used), so just as nvc0, let an immediate 0 be loaded anywhere.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.cpp