summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2015-08-17 01:34:41 +0300
committerFrancisco Jerez <[email protected]>2015-08-20 12:28:48 +0300
commit6da187f80560b44b59551757c1322e921d8ca025 (patch)
tree33e941cb4e9ed01257f7b1eefe79041073107f6c /src/glsl
parent76a09c87c14f65d8ad8bd805ef03101f4455a24f (diff)
glsl: Expose image load and store built-ins in GLSL ES 3.1.
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/builtin_functions.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}