diff options
author | Paul Berry <[email protected]> | 2011-09-06 10:01:51 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2011-09-08 09:37:24 -0700 |
commit | 93b9758d01e2542ec3c2b8672cca0ae19b257aac (patch) | |
tree | ee7ee3db4f32f602c1b9a199655eb6e44c53b8e6 /src/glsl/lower_texture_projection.cpp | |
parent | 36c4b1a3da44a80624eab9da6543540b4b253f1d (diff) |
glsl: Rework oversize array check for gl_TexCoord.
The check now applies both when explicitly declaring the size of
gl_TexCoord and when implicitly setting the size of gl_TexCoord by
accessing it using integral constant expressions.
This is prep work for adding similar size checks to gl_ClipDistance.
Fixes piglit tests texcoord/implicit-access-max.{frag,vert}.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/lower_texture_projection.cpp')
0 files changed, 0 insertions, 0 deletions