Hello, currently r600g ignores relative constant addressing when splitting constant accesses into multiple instructions which is fixed by the attached patch. I noticed it when messing with vp-tris arl.txt of git://anongit.freedesktop.org/mesa/demos (I modified "arr[addr.x-2]" into "arr[addr.x]" in arl.txt to get rid of the negative register indices)
Cheers Stephan Schmid
dri-devel@lists.freedesktop.org