nv50/ir: guess that the constant offset is the starting slot of array
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 22 May 2015 23:02:41 +0000 (19:02 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 22 May 2015 23:08:14 +0000 (19:08 -0400)
commit0bab3962f5f313ea829c95920c02f32afb23715d
tree35a89ca56b563ec2feb5cdced370f5d01d9b4fdd
parentd1eea18a595a468dbc2267a8d14197a3b1a5a4b6
nv50/ir: guess that the constant offset is the starting slot of array

When we get something like IN[ADDR[0].x+5], we will now guess that we
should look at IN[5] for the "base" information.

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