summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/glapi_priv.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2015-06-15 15:05:36 -0700
committerEric Anholt <[email protected]>2015-06-16 15:15:14 -0700
commita0cd1a4060fdb55a57609b460629c7059bbe7047 (patch)
treeac939eae00ab2ac973fb74664e19f9530cea83f1 /src/mapi/glapi/glapi_priv.h
parentd4d27361499cac73da4716b571519ecb71cef551 (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/mapi/glapi/glapi_priv.h')
0 files changed, 0 insertions, 0 deletions