nvc0/ir: SHLADD's middle source must be an immediate
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 20 May 2017 07:11:12 +0000 (03:11 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 20 May 2017 07:12:40 +0000 (03:12 -0400)
commit82e77d4e4484b5d4f6a7b4751a17c882e6d2ad69
tree9606d41e8546593fde9ba2f4e438798c6b6d1dc1
parentf0051fcf2beb2c1476c31dfb0ba40111792e4ec7
nvc0/ir: SHLADD's middle source must be an immediate

The instruction encodings only allow for immediates. Don't try to
replace a zero (which is dumb to have in that op in any case) with RZ.

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