From cf70d2a7c0b8752001b7ed3a533aedb8c45759be Mon Sep 17 00:00:00 2001 From: =?utf8?q?Maxence=20Le=20Dor=C3=A9?= Date: Fri, 3 Jan 2014 00:09:49 +0100 Subject: [PATCH] glsl: add a shader_trinary_minmax predicate Reviewed-by: Kenneth Graunke --- src/glsl/builtin_functions.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/glsl/builtin_functions.cpp b/src/glsl/builtin_functions.cpp index 840a6c9a27c..18cdb2437f2 100644 --- a/src/glsl/builtin_functions.cpp +++ b/src/glsl/builtin_functions.cpp @@ -334,6 +334,12 @@ shader_atomic_counters(const _mesa_glsl_parse_state *state) return state->ARB_shader_atomic_counters_enable; } +static bool +shader_trinary_minmax(const _mesa_glsl_parse_state *state) +{ + return state->AMD_shader_trinary_minmax_enable; +} + /** @} */ /******************************************************************************/ -- 2.30.2