projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff50493
)
glsl: add a shader_trinary_minmax predicate
author
Maxence Le Doré
<maxence.ledore@gmail.com>
Thu, 2 Jan 2014 23:09:49 +0000
(
00:09
+0100)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Mon, 6 Jan 2014 22:28:06 +0000
(14:28 -0800)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/builtin_functions.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/builtin_functions.cpp
b/src/glsl/builtin_functions.cpp
index 840a6c9a27c31d8bf33f51c6aa21c5ffa5c344a7..18cdb2437f2feb0b9a51146e737453d0db95dcb0 100644
(file)
--- 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;
+}
+
/** @} */
/******************************************************************************/