diff options
Diffstat (limited to 'src/compiler/glsl/glsl_parser_extras.h')
-rw-r--r-- | src/compiler/glsl/glsl_parser_extras.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/glsl/glsl_parser_extras.h b/src/compiler/glsl/glsl_parser_extras.h index cca7fa8e0ee..f9c1ffca842 100644 --- a/src/compiler/glsl/glsl_parser_extras.h +++ b/src/compiler/glsl/glsl_parser_extras.h @@ -277,6 +277,11 @@ struct _mesa_glsl_parse_state { return OES_geometry_shader_enable || is_version(150, 320); } + bool has_tessellation_shader() const + { + return ARB_tessellation_shader_enable || is_version(400, 0); + } + bool has_clip_distance() const { return EXT_clip_cull_distance_enable || is_version(130, 0); |