[Mesa-dev] [PATCH] Enable EXT_shader_integer_mix prototypes on 440

Eduardo Lima Mitev elima at igalia.com
Tue Mar 7 11:17:11 UTC 2017


This extension is written against the OpenGL 4.4 (core) specification and
the GLSL 4.40 specification. Right now it is enable only on 450.
---
 src/compiler/glsl/builtin_functions.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compiler/glsl/builtin_functions.cpp b/src/compiler/glsl/builtin_functions.cpp
index e03a50c8438..b7f9f5ca1ca 100644
--- a/src/compiler/glsl/builtin_functions.cpp
+++ b/src/compiler/glsl/builtin_functions.cpp
@@ -216,7 +216,7 @@ shader_bit_encoding(const _mesa_glsl_parse_state *state)
 static bool
 shader_integer_mix(const _mesa_glsl_parse_state *state)
 {
-   return state->is_version(450, 310) ||
+   return state->is_version(440, 310) ||
           state->ARB_ES3_1_compatibility_enable ||
           (v130(state) && state->EXT_shader_integer_mix_enable);
 }
-- 
2.11.0



More information about the mesa-dev mailing list