diff options
author | Eric Anholt <[email protected]> | 2015-06-15 15:05:36 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-06-16 15:15:14 -0700 |
commit | a0cd1a4060fdb55a57609b460629c7059bbe7047 (patch) | |
tree | ac939eae00ab2ac973fb74664e19f9530cea83f1 /src/mesa/main | |
parent | d4d27361499cac73da4716b571519ecb71cef551 (diff) |
vc4: Make sure that direct texture clamps have a minimum value of 0.
I was thinking of the MIN opcode in terms of unsigned math, but it's
signed, so if you used a negative array index, you could read before the
UBO. Fixes segfaults under simulation in piglit array indexing tests with
mprotect-based guard pages.
Diffstat (limited to 'src/mesa/main')
0 files changed, 0 insertions, 0 deletions