summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/bufferobj.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2012-06-01 02:56:50 -0700
committerKenneth Graunke <[email protected]>2012-06-05 14:41:33 -0700
commit25edfbfccfb8af9eecd949c3fc4f2680c5b963b6 (patch)
tree687964475c5f630075b620ea455c00a16b66f591 /src/mesa/main/bufferobj.c
parent2c4f6ceeb466cb15df34670aaacbcbdd4aba5fd6 (diff)
glsl/builtins: Fix textureGrad() for Array samplers.
We were incorrectly assuming that the coordinate's dimensionality is equal to the gradient's dimensionality. For array types, the coordinate has one more component. Fixes 12 subcases of oglconform's glsl-bif-tex-grad test. NOTE: This is a candidate for stable release branches. Signed-off-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/bufferobj.c')
0 files changed, 0 insertions, 0 deletions