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