diff options
author | Pierre-Eric Pelloux-Prayer <[email protected]> | 2019-07-12 15:50:38 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-08-06 17:40:55 -0400 |
commit | cd45d092260c116637095ea50b7329bf00310aba (patch) | |
tree | f8f37c1625f4d862f803668f54bbb98d4b8c5243 /src/compiler/glsl/glsl_parser_extras.h | |
parent | 5db28b0cf748cdcd50408cb8391cdf5df03cfd92 (diff) |
glsl: handle differences between ARB/EXT versions of shader_image_load_store
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/compiler/glsl/glsl_parser_extras.h')
-rw-r--r-- | src/compiler/glsl/glsl_parser_extras.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/compiler/glsl/glsl_parser_extras.h b/src/compiler/glsl/glsl_parser_extras.h index c132556c276..5aaf0bc252b 100644 --- a/src/compiler/glsl/glsl_parser_extras.h +++ b/src/compiler/glsl/glsl_parser_extras.h @@ -337,7 +337,9 @@ struct _mesa_glsl_parse_state { bool has_shader_image_load_store() const { - return ARB_shader_image_load_store_enable || is_version(420, 310); + return ARB_shader_image_load_store_enable || + EXT_shader_image_load_store_enable || + is_version(420, 310); } bool has_bindless() const @@ -836,6 +838,8 @@ struct _mesa_glsl_parse_state { bool EXT_shader_framebuffer_fetch_non_coherent_warn; bool EXT_shader_image_load_formatted_enable; bool EXT_shader_image_load_formatted_warn; + bool EXT_shader_image_load_store_enable; + bool EXT_shader_image_load_store_warn; bool EXT_shader_implicit_conversions_enable; bool EXT_shader_implicit_conversions_warn; bool EXT_shader_integer_mix_enable; |