diff options
author | Eric Anholt <[email protected]> | 2013-10-30 17:09:53 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-11-01 10:25:33 -0700 |
commit | 3641b97bdce558d980799b00422c6aee7d472cf5 (patch) | |
tree | b9a3846da73defc24c8bf26f60d663204610aa6e /src/mesa/state_tracker | |
parent | 2197967cd4e04365fd9c2eae0351f3e39f839766 (diff) |
i965/vec4: Don't overwrite op[1] when doing a UBO load.
Prior to the GLSL CSE pass, all of our testing happened to have a freshly
computed temporary in op[1], from the multiply by 16 to get a byte offset.
As of CSE you'll get var_refs of a reused value when you've got multiple
loads from the same offset.
Make a proper temporary for computing our temporary value, to avoid
shifting the value farther and farther down. Avoids a regression in
gs-float-array-variable-index
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
0 files changed, 0 insertions, 0 deletions