summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/glsl_parser_extras.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2016-05-23 13:31:29 -0700
committerIan Romanick <[email protected]>2016-08-26 15:03:14 -0700
commit1a72fbf9e6743368dc8e7664adf095af8ec5b6d8 (patch)
treea68e16054e34d6d92552b06002ee8be9fafae0c7 /src/compiler/glsl/glsl_parser_extras.h
parent658e90f9a8c0c68e0bee5007cf3f654cc95188b6 (diff)
mesa: Allow GL_EXT_geometry_shader and GL_EXT_geometry_point_size
Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/glsl/glsl_parser_extras.h')
-rw-r--r--src/compiler/glsl/glsl_parser_extras.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/compiler/glsl/glsl_parser_extras.h b/src/compiler/glsl/glsl_parser_extras.h
index f8136092494..7092281a2b4 100644
--- a/src/compiler/glsl/glsl_parser_extras.h
+++ b/src/compiler/glsl/glsl_parser_extras.h
@@ -277,6 +277,7 @@ struct _mesa_glsl_parse_state {
return OES_shader_io_blocks_enable ||
EXT_shader_io_blocks_enable ||
OES_geometry_shader_enable ||
+ EXT_geometry_shader_enable ||
OES_tessellation_shader_enable ||
EXT_tessellation_shader_enable ||
@@ -285,7 +286,8 @@ struct _mesa_glsl_parse_state {
bool has_geometry_shader() const
{
- return OES_geometry_shader_enable || is_version(150, 320);
+ return OES_geometry_shader_enable || EXT_geometry_shader_enable ||
+ is_version(150, 320);
}
bool has_tessellation_shader() const
@@ -701,6 +703,10 @@ struct _mesa_glsl_parse_state {
bool EXT_clip_cull_distance_warn;
bool EXT_draw_buffers_enable;
bool EXT_draw_buffers_warn;
+ bool EXT_geometry_point_size_enable;
+ bool EXT_geometry_point_size_warn;
+ bool EXT_geometry_shader_enable;
+ bool EXT_geometry_shader_warn;
bool EXT_gpu_shader5_enable;
bool EXT_gpu_shader5_warn;
bool EXT_separate_shader_objects_enable;