[Mesa-dev] [PATCH] Enable EXT_shader_integer_mix prototypes on 440
Ilia Mirkin
imirkin at alum.mit.edu
Tue Mar 7 12:34:36 UTC 2017
Nak. That's not what that means...
On Mar 7, 2017 6:17 AM, "Eduardo Lima Mitev" <elima at igalia.com> wrote:
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
_______________________________________________
mesa-dev mailing list
mesa-dev at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170307/e9862842/attachment.html>
More information about the mesa-dev
mailing list