nvc0/ir: unset s/r indirect sources before moving everything
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 6 Jul 2014 07:06:55 +0000 (03:06 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 10 Jul 2014 01:10:24 +0000 (21:10 -0400)
commit9807a8ddaf3d0b6d8bf8b3e7c0b01cc4c7db4f30
tree08b99828187e0107d5ab8d2d85cea3c7b044093d
parent0bdc3e1afda111c5741a699da3ff891fedfe89de
nvc0/ir: unset s/r indirect sources before moving everything

With the current logic, it's very likely that s/r indirect sources are
right after the "regular" ones. Unset them before moving the texture
arguments over rather than after, as one of those arguments would
likely have assumed one of the s/r positions.

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