diff options
author | Ian Romanick <[email protected]> | 2013-03-15 15:14:18 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-04-08 15:17:05 -0700 |
commit | a131b87706a6e59be35997d24b2236130aa09689 (patch) | |
tree | e8f95a8e8d28ec9863a798f8d7a50ee5b08274ac /src/mesa/x86/3dnow.c | |
parent | a70d2f05dc972bbc4a685e65a6ffa8a092b68b4c (diff) |
glsl: Don't emit spurious errors for constant indexes of the wrong type
Previously the shader
uniform float x[6];
void main() { gl_Position.x = x[1.0]; }
would have generated the errors
0:2(33): error: array index must be integer type
0:2(36): error: array index must be < 6
Now only
0:2(33): error: array index must be integer type
will be generated.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/x86/3dnow.c')
0 files changed, 0 insertions, 0 deletions