diff options
author | Kenneth Graunke <[email protected]> | 2016-07-08 12:00:30 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-08-08 09:59:03 -0700 |
commit | 58709d36d73419c21b899d4b9d08a4a82a2cc28b (patch) | |
tree | b9c24748c0dc598491c56c208c830ee2370d7970 /src/compiler/glsl/glsl_parser_extras.cpp | |
parent | 722fd10456f8e92d61c492b662a24215eb4cd166 (diff) |
glsl: Add extension plumbing for OES/EXT_tessellation_shader.
This adds the #extension directive support, built-in #defines,
lexer keyword support, and updates has_tessellation_shader().
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/compiler/glsl/glsl_parser_extras.cpp')
-rw-r--r-- | src/compiler/glsl/glsl_parser_extras.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/glsl/glsl_parser_extras.cpp b/src/compiler/glsl/glsl_parser_extras.cpp index e7022919750..14a5540063c 100644 --- a/src/compiler/glsl/glsl_parser_extras.cpp +++ b/src/compiler/glsl/glsl_parser_extras.cpp @@ -634,6 +634,8 @@ static const _mesa_glsl_extension _mesa_glsl_supported_extensions[] = { EXT(OES_shader_io_blocks), EXT(OES_shader_multisample_interpolation), EXT(OES_standard_derivatives), + EXT(OES_tessellation_point_size), + EXT(OES_tessellation_shader), EXT(OES_texture_3D), EXT(OES_texture_buffer), EXT(OES_texture_storage_multisample_2d_array), @@ -653,6 +655,8 @@ static const _mesa_glsl_extension _mesa_glsl_supported_extensions[] = { EXT(EXT_shader_integer_mix), EXT(EXT_shader_io_blocks), EXT(EXT_shader_samples_identical), + EXT(EXT_tessellation_point_size), + EXT(EXT_tessellation_shader), EXT(EXT_texture_array), EXT(EXT_texture_buffer), EXT(MESA_shader_integer_functions), |