diff options
author | Kenneth Graunke <[email protected]> | 2012-06-01 02:56:50 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-06-05 14:41:33 -0700 |
commit | 25edfbfccfb8af9eecd949c3fc4f2680c5b963b6 (patch) | |
tree | 687964475c5f630075b620ea455c00a16b66f591 /src/mesa/main/bufferobj.c | |
parent | 2c4f6ceeb466cb15df34670aaacbcbdd4aba5fd6 (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