glsl: Expose image load and store built-ins in GLSL ES 3.1.
authorFrancisco Jerez <currojerez@riseup.net>
Sun, 16 Aug 2015 22:34:41 +0000 (01:34 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Thu, 20 Aug 2015 09:28:48 +0000 (12:28 +0300)
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/glsl/builtin_functions.cpp

index 094f94787e5831a4f6319985f75ff7ea9e4e21bd..64815995dcfd415350e35d5725e1b8923092d717 100644 (file)
@@ -401,7 +401,7 @@ shader_trinary_minmax(const _mesa_glsl_parse_state *state)
 static bool
 shader_image_load_store(const _mesa_glsl_parse_state *state)
 {
-   return (state->is_version(420, 0) ||
+   return (state->is_version(420, 310) ||
            state->ARB_shader_image_load_store_enable);
 }