summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/glcpp/glcpp-parse.y
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-05-29 10:49:03 -0400
committerIlia Mirkin <[email protected]>2016-06-06 20:48:46 -0400
commit5189f0243a3dd8698c645bbe762b8a1a3caaf1a9 (patch)
tree52424a33a94512e4845b9557d6a9e215eab302af /src/compiler/glsl/glcpp/glcpp-parse.y
parent13b859de044d0f970fcafd4bbb643a307c6ab4eb (diff)
mesa: hook up core bits of GL_ARB_shader_group_vote
Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/compiler/glsl/glcpp/glcpp-parse.y')
-rw-r--r--src/compiler/glsl/glcpp/glcpp-parse.y3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/glsl/glcpp/glcpp-parse.y b/src/compiler/glsl/glcpp/glcpp-parse.y
index 402272796d0..2cfa6a6825a 100644
--- a/src/compiler/glsl/glcpp/glcpp-parse.y
+++ b/src/compiler/glsl/glcpp/glcpp-parse.y
@@ -2467,6 +2467,9 @@ _glcpp_parser_handle_version_declaration(glcpp_parser_t *parser, intmax_t versio
if (extensions->ARB_cull_distance)
add_builtin_define(parser, "GL_ARB_cull_distance", 1);
+
+ if (extensions->ARB_shader_group_vote)
+ add_builtin_define(parser, "GL_ARB_shader_group_vote", 1);
}
}