glcpp: Add built-in define for ARB_shader_image_load_store.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 12 Feb 2014 16:12:24 +0000 (17:12 +0100)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 12 Feb 2014 17:44:05 +0000 (18:44 +0100)
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/glsl/glcpp/glcpp-parse.y

index eeafa4d39ac8c87d2263744f25d578a678e348be..5bb2891c47593164ffa4d8779fbd60f8476e054d 100644 (file)
@@ -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);
           }
        }