diff options
author | Francisco Jerez <[email protected]> | 2014-02-12 17:12:24 +0100 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2014-02-12 18:44:05 +0100 |
commit | 6057300ec68be3cbccdd3e6512aba833c63c2bb8 (patch) | |
tree | 99e8cabf03a6b1fba489eee6313d24bb5823b41a /src/glsl/glcpp | |
parent | 60c89f8bff360dd79dea487eb197949381a72868 (diff) |
glcpp: Add built-in define for ARB_shader_image_load_store.
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/glsl/glcpp')
-rw-r--r-- | src/glsl/glcpp/glcpp-parse.y | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y index eeafa4d39ac..5bb2891c475 100644 --- a/src/glsl/glcpp/glcpp-parse.y +++ b/src/glsl/glcpp/glcpp-parse.y @@ -2126,6 +2126,9 @@ _glcpp_parser_handle_version_declaration(glcpp_parser_t *parser, intmax_t versio if (extensions->ARB_compute_shader) add_builtin_define(parser, "GL_ARB_compute_shader", 1); + + if (extensions->ARB_shader_image_load_store) + add_builtin_define(parser, "GL_ARB_shader_image_load_store", 1); } } |