diff options
author | Maxence Le Doré <[email protected]> | 2014-01-03 00:09:49 +0100 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-01-06 14:28:06 -0800 |
commit | cf70d2a7c0b8752001b7ed3a533aedb8c45759be (patch) | |
tree | dd1f566f462de6c3a88739c3c9d59ecc4f57c667 | |
parent | ff50493bb34858811bc5e5f7b3b2428e9cd3fd25 (diff) |
glsl: add a shader_trinary_minmax predicate
Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r-- | src/glsl/builtin_functions.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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; +} + /** @} */ /******************************************************************************/ |