diff options
author | Ilia Mirkin <[email protected]> | 2014-07-02 12:12:51 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-07-02 21:59:38 -0400 |
commit | df61553070319660bd6a74f1ae6b251700dd17db (patch) | |
tree | 918e452ef44b1361830d59f6de0a5e7ec8e2baa6 /src/glsl/glcpp/glcpp-parse.y | |
parent | e593953b50883541e7dc137e59a53253a2f76c23 (diff) |
glsl: add support for AMD_vertex_shader_viewport_index
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Chris Forbes <[email protected]>
Tested-by: Tobias Droste <[email protected]>
Diffstat (limited to 'src/glsl/glcpp/glcpp-parse.y')
-rw-r--r-- | src/glsl/glcpp/glcpp-parse.y | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y index d8c395778ab..ccf8105597b 100644 --- a/src/glsl/glcpp/glcpp-parse.y +++ b/src/glsl/glcpp/glcpp-parse.y @@ -2133,6 +2133,9 @@ _glcpp_parser_handle_version_declaration(glcpp_parser_t *parser, intmax_t versio if (extensions->AMD_vertex_shader_layer) add_builtin_define(parser, "GL_AMD_vertex_shader_layer", 1); + if (extensions->AMD_vertex_shader_viewport_index) + add_builtin_define(parser, "GL_AMD_vertex_shader_viewport_index", 1); + if (extensions->ARB_shading_language_420pack) add_builtin_define(parser, "GL_ARB_shading_language_420pack", 1); |