glsl: Add ARB_shader_image_load_store extension enables.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 12 Feb 2014 15:54:40 +0000 (16:54 +0100)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 12 Feb 2014 17:39:48 +0000 (18:39 +0100)
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/glsl/glsl_parser_extras.cpp
src/glsl/glsl_parser_extras.h

index b822d2292872fe051ca535a4cd40fc4220153ed4..196714f32727537e7bb9262c36af0e87a524c1b9 100644 (file)
@@ -527,6 +527,7 @@ static const _mesa_glsl_extension _mesa_glsl_supported_extensions[] = {
    EXT(AMD_shader_trinary_minmax,      true,  false,     dummy_true),
    EXT(ARB_viewport_array,             true,  false,     ARB_viewport_array),
    EXT(ARB_compute_shader,             true,  false,     ARB_compute_shader),
+   EXT(ARB_shader_image_load_store,    true,  false,     ARB_shader_image_load_store),
 };
 
 #undef EXT
index 7d661473d04bc85239979be9dcca6b4298e4b462..2083d555f673c8534203618a1a277fbb195cb460 100644 (file)
@@ -377,6 +377,8 @@ struct _mesa_glsl_parse_state {
    bool ARB_viewport_array_warn;
    bool ARB_compute_shader_enable;
    bool ARB_compute_shader_warn;
+   bool ARB_shader_image_load_store_enable;
+   bool ARB_shader_image_load_store_warn;
    /*@}*/
 
    /** Extensions supported by the OpenGL implementation. */