diff options
author | Iago Toral Quiroga <[email protected]> | 2015-01-20 17:07:13 +0100 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2015-02-06 12:21:42 +0100 |
commit | 71a36e0a2c0f301aa83989dc4ade700a9751493d (patch) | |
tree | 4fb80f7cf83f8b9eeb17a8445fa0086d4930c0fd /src/glsl/link_varyings.h | |
parent | d4a461caaf00ae13b83f106f032d3f4125687a02 (diff) |
glsl: GLSL ES identifiers cannot exceed 1024 characters
v2 (Ian Romanick)
- Move the check to the lexer before rallocing a copy of the large string.
Fixes the following 2 dEQP tests:
dEQP-GLES3.functional.shaders.keywords.invalid_identifiers.max_length_vertex
dEQP-GLES3.functional.shaders.keywords.invalid_identifiers.max_length_fragment
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/link_varyings.h')
0 files changed, 0 insertions, 0 deletions