[Mesa-dev] [PATCH 14/25] glsl: Expose image load and store built-ins in GLSL ES 3.1.
Francisco Jerez
currojerez at riseup.net
Mon Aug 17 09:45:53 PDT 2015
---
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 482cae2..c53858e 100644
--- a/src/glsl/builtin_functions.cpp
+++ b/src/glsl/builtin_functions.cpp
@@ -394,7 +394,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.4.6
More information about the mesa-dev
mailing list