diff options
author | Samuel Pitoiset <[email protected]> | 2017-03-21 12:42:47 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-05-06 16:40:19 +0200 |
commit | 042eee2067dc937e8d7e9b54829c5c4b8706dc27 (patch) | |
tree | 3f1d7911d1cf47b5a02670208a9e6a2af8ef39a2 /src/compiler/glsl/glsl_parser_extras.h | |
parent | b08a9bf7918be88de4cedfecf1c3918fd7f0e505 (diff) |
glsl: add ARB_bindless_texture enable
This also adds the extension to the standalone GLSL compiler.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Nicolai Hähnle <[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 6c3bc8a9173..6045a6128e6 100644 --- a/src/compiler/glsl/glsl_parser_extras.h +++ b/src/compiler/glsl/glsl_parser_extras.h @@ -334,6 +334,11 @@ struct _mesa_glsl_parse_state { return ARB_shader_image_load_store_enable || is_version(420, 310); } + bool has_bindless() const + { + return ARB_bindless_texture_enable; + } + void process_version_directive(YYLTYPE *locp, int version, const char *ident); @@ -592,6 +597,8 @@ struct _mesa_glsl_parse_state { bool ARB_ES3_2_compatibility_warn; bool ARB_arrays_of_arrays_enable; bool ARB_arrays_of_arrays_warn; + bool ARB_bindless_texture_enable; + bool ARB_bindless_texture_warn; bool ARB_compute_shader_enable; bool ARB_compute_shader_warn; bool ARB_compute_variable_group_size_enable; |