[Mesa-dev] [PATCH 3/9] glsl: add a shader_trinary_minmax predicate

=?UTF-8?q?Maxence=20Le=20Dor=C3=A9?= <Maxence Le Doré> maxence.ledore at gmail.com
Tue Dec 10 14:43:10 PST 2013


---
 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 6af587a..481a456 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_mimax(const _mesa_glsl_parse_state *state)
+{
+   return state->AMD_shader_trinary_minmax_enable;
+}
+
 /** @} */
 
 /******************************************************************************/
-- 
1.8.5.1



More information about the mesa-dev mailing list