From: Francisco Jerez Date: Sun, 16 Aug 2015 22:34:41 +0000 (+0300) Subject: glsl: Expose image load and store built-ins in GLSL ES 3.1. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6da187f80560b44b59551757c1322e921d8ca025;p=mesa.git glsl: Expose image load and store built-ins in GLSL ES 3.1. Reviewed-by: Tapani Pälli --- 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); }