summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-07-18 18:51:25 -0700
committerIan Romanick <[email protected]>2011-07-23 01:24:18 -0700
commit6c8f1f483a999005cae1da5b54cc8ca1904e7ce7 (patch)
tree6d5c83a0e9c780e37c85af5308d749e2cde92dca /src/gallium/drivers
parent90cc372400e1f5869baabd841823bbf9296d7b01 (diff)
glsl: Compare vector indices in blocks
Just like the non-constant array index lowering pass, compare all N indices at once. For accesses to a vec4, this saves 3 comparison instructions on a vector architecture. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
0 files changed, 0 insertions, 0 deletions