[Mesa-dev] [PATCH] Enable EXT_shader_integer_mix prototypes on 440
Eduardo Lima Mitev
elima at igalia.com
Tue Mar 7 12:58:26 UTC 2017
On 03/07/2017 01:34 PM, Ilia Mirkin wrote:
> Nak. That's not what that means...
>
Ok, I see, it is only core in 450, and for 440 it requires the
extension. Sorry for the confusion.
Eduardo
> On Mar 7, 2017 6:17 AM, "Eduardo Lima Mitev" <elima at igalia.com
> <mailto: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 <mailto:mesa-dev at lists.freedesktop.org>
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> <https://lists.freedesktop.org/mailman/listinfo/mesa-dev>
>
>
More information about the mesa-dev
mailing list