glsl: Add extension enables for ARB_shader_atomic_counters.
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 8 Oct 2013 01:55:18 +0000 (18:55 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 29 Oct 2013 19:40:55 +0000 (12:40 -0700)
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/glsl_parser_extras.cpp
src/glsl/glsl_parser_extras.h

index be17109e134f6f59b36ae07048333bc856ad28c4..6a69e22255722bb1dd9f3e547d95a1d23e1fd4d7 100644 (file)
@@ -533,6 +533,7 @@ static const _mesa_glsl_extension _mesa_glsl_supported_extensions[] = {
    EXT(AMD_vertex_shader_layer,        true,  false,     AMD_vertex_shader_layer),
    EXT(EXT_shader_integer_mix,         true,  true,      EXT_shader_integer_mix),
    EXT(ARB_texture_gather,             true,  false,     ARB_texture_gather),
+   EXT(ARB_shader_atomic_counters,     true,  false,     ARB_shader_atomic_counters),
 };
 
 #undef EXT
index a674384127b05668a03ab6eb64bddc1bc771d1c1..27a7a5c1d7f8900c482e172cff30ab52c25f4723 100644 (file)
@@ -325,6 +325,8 @@ struct _mesa_glsl_parse_state {
    bool ARB_shading_language_420pack_warn;
    bool EXT_shader_integer_mix_enable;
    bool EXT_shader_integer_mix_warn;
+   bool ARB_shader_atomic_counters_enable;
+   bool ARB_shader_atomic_counters_warn;
    /*@}*/
 
    /** Extensions supported by the OpenGL implementation. */