[PATCH] r600g: fix relative addressing when splitting constant accesses

2010-10-12 Thread Stephan Schmid
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]"

[PATCH] r600g: fix relative addressing when splitting constant accesses

2010-10-12 Thread Stephan Schmid
quot;arr[addr.x]" in arl.txt to get rid of the negative register indices) Cheers Stephan Schmid From 200cf6884ca06ecd4f3a8dcbf8f88e2d04ebab32 Mon Sep 17 00:00:00 2001 From: Stephan Schmid Date: Mon, 11 Oct 2010 15:49:56 +0200 Subject: [PATCH] r600g: fix relative addressing when splitti