summaryrefslogtreecommitdiffstats
path: root/src/glsl/main.cpp
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-08-02 11:17:30 -0700
committerIan Romanick <[email protected]>2012-12-06 12:13:22 -0800
commit2b4aeddfb3cdae95d69e7f46eac87514f372f531 (patch)
treecb5a3d84c80f18014fb6a0384b25afac078cf5da /src/glsl/main.cpp
parent629b9edc99a0b662cf907b9e068be2fd6ac5ae26 (diff)
glsl/parser: Handle "#version 300 es" directive.
Note that GLSL 1.00 is selected using "#version 100", so "#version 100 es" is prohibited. v2: Check for GLES3 before allowing '#version 300 es' v3: Make sure a correct language_version is set in _mesa_glsl_parse_state::process_version_directive. Signed-off-by: Paul Berry <[email protected]> Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Acked-by: Carl Worth <[email protected]>
Diffstat (limited to 'src/glsl/main.cpp')
0 files changed, 0 insertions, 0 deletions