We now set the ARB_shader_bit_encoding flag for versions that support this functionality, so we don't need to double check it here.
Signed-off-by: Kenneth Graunke <kenn...@whitecape.org> Cc: Ian Romanick <i...@freedesktop.org> --- src/glsl/builtin_functions.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/glsl/builtin_functions.cpp b/src/glsl/builtin_functions.cpp index c468bd5..b020a7c 100644 --- a/src/glsl/builtin_functions.cpp +++ b/src/glsl/builtin_functions.cpp @@ -182,8 +182,7 @@ shader_texture_lod_and_rect(const _mesa_glsl_parse_state *state) static bool shader_bit_encoding(const _mesa_glsl_parse_state *state) { - return state->is_version(330, 300) || - state->ARB_shader_bit_encoding_enable || + return state->ARB_shader_bit_encoding_enable || state->ARB_gpu_shader5_enable; } -- 1.8.3.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev