From 6da187f80560b44b59551757c1322e921d8ca025 Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Mon, 17 Aug 2015 01:34:41 +0300 Subject: glsl: Expose image load and store built-ins in GLSL ES 3.1. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Tapani Pälli --- src/glsl/builtin_functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/glsl/builtin_functions.cpp') diff --git a/src/glsl/builtin_functions.cpp b/src/glsl/builtin_functions.cpp index 094f94787e5..64815995dcf 100644 --- a/src/glsl/builtin_functions.cpp +++ b/src/glsl/builtin_functions.cpp @@ -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); } -- cgit v1.2.3