From: Francisco Jerez Date: Wed, 12 Feb 2014 16:12:24 +0000 (+0100) Subject: glcpp: Add built-in define for ARB_shader_image_load_store. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6057300ec68be3cbccdd3e6512aba833c63c2bb8;p=mesa.git glcpp: Add built-in define for ARB_shader_image_load_store. Reviewed-by: Paul Berry --- 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); } }