diff options
author | Dave Airlie <[email protected]> | 2016-06-09 06:35:30 +1000 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2017-01-20 15:41:23 -0800 |
commit | e90830bb8eb6b143551152916ad9eafbee7731b5 (patch) | |
tree | ca5ee62a5e92f6f75af5af6370231ecbaf4b5da3 /src/compiler/glsl/glsl_parser_extras.h | |
parent | 839ce21143df5f80bc9bc39bca92f64e721bd540 (diff) |
glsl: Add ARB_gpu_shader_int64 boilerplate.
This just adds the basic boilerplate support.
Signed-off-by: Dave Airlie <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/compiler/glsl/glsl_parser_extras.h')
-rw-r--r-- | src/compiler/glsl/glsl_parser_extras.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/compiler/glsl/glsl_parser_extras.h b/src/compiler/glsl/glsl_parser_extras.h index d6fc37777e4..424cab5023c 100644 --- a/src/compiler/glsl/glsl_parser_extras.h +++ b/src/compiler/glsl/glsl_parser_extras.h @@ -250,6 +250,11 @@ struct _mesa_glsl_parse_state { return ARB_gpu_shader_fp64_enable || is_version(400, 0); } + bool has_int64() const + { + return ARB_gpu_shader_int64_enable; + } + bool has_420pack() const { return ARB_shading_language_420pack_enable || is_version(420, 0); @@ -610,6 +615,8 @@ struct _mesa_glsl_parse_state { bool ARB_gpu_shader5_warn; bool ARB_gpu_shader_fp64_enable; bool ARB_gpu_shader_fp64_warn; + bool ARB_gpu_shader_int64_enable; + bool ARB_gpu_shader_int64_warn; bool ARB_post_depth_coverage_enable; bool ARB_post_depth_coverage_warn; bool ARB_sample_shading_enable; |