summaryrefslogtreecommitdiffstats
path: root/src/egl/main/egldisplay.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-08-05 21:40:50 -0700
committerEric Anholt <[email protected]>2011-08-15 17:54:27 -0700
commita313c29c777de0bc74c252f1d35eef7d3d907e1f (patch)
tree4d8b646427e63711aff47d98d32badfc79bc7a17 /src/egl/main/egldisplay.c
parent5880a9a4a7247e4c31df606bef089c45b4052aaa (diff)
glsl: When assigning to a whole array, mark the array as accessed.
The vs-varying-array-mat2-col-row-wr test writes a mat2[3] constant to a mat2[3] varying out array, and also statically accesses element 1 of it on the VS and FS sides. At link time it would get trimmed down to just 2 elements, and then codegen of the VS would end up generating assignments to the unallocated last entry of the array. On the new i965 VS backend, that happened to land on the vertex position. Some issues remain in this test on softpipe, i965/old-vs and i965/new-vs on visual inspection, but i965 is passing because only one green pixel is probed, not the whole split green/red quad.
Diffstat (limited to 'src/egl/main/egldisplay.c')
0 files changed, 0 insertions, 0 deletions