[Mesa-dev] [PATCH 2/8] glsl: add a shader_trinary_minmax predicate
=?UTF-8?q?Maxence=20Le=20Dor=C3=A9?= <Maxence Le Doré>
maxence.ledore at gmail.com
Thu Jan 2 15:09:49 PST 2014
---
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 840a6c9..18cdb24 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;
+}
+
/** @} */
/******************************************************************************/
--
1.8.5.2
More information about the mesa-dev
mailing list