OSDN Git Service

i965: Set the variable type when dereferencing an array.
authorEric Anholt <eric@anholt.net>
Tue, 28 Sep 2010 05:19:51 +0000 (22:19 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 28 Sep 2010 16:33:31 +0000 (09:33 -0700)
commit07fc8eed8f0398063d87acf3a7ee392da4184822
tree5bead90952bfbcf868bdea9fec624ca7c9622e6d
parent719f84d9aba6b016e1069e0461cbfc4211f5a3b5
i965: Set the variable type when dereferencing an array.

We don't set the type on the array virtual reg as a whole, so here's
the right place.

Fixes:
glsl1-GLSL 1.20 arrays
glsl1-temp array with constant indexing, fragment shader
glsl1-temp array with swizzled variable indexing
src/mesa/drivers/dri/i965/brw_fs.cpp