From: Maxence Le Doré Date: Thu, 2 Jan 2014 23:09:49 +0000 (+0100) Subject: glsl: add a shader_trinary_minmax predicate X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cf70d2a7c0b8752001b7ed3a533aedb8c45759be;p=mesa.git glsl: add a shader_trinary_minmax predicate Reviewed-by: Kenneth Graunke --- 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; +} + /** @} */ /******************************************************************************/