summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtin_function.cpp
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-08-23 12:54:55 -0700
committerEric Anholt <[email protected]>2010-08-23 13:06:02 -0700
commitb75645d8adf88ef237c3f835b6190e8113452b09 (patch)
tree0226aba235d50ce05e1dd345c605eef15893cb90 /src/glsl/builtin_function.cpp
parent5e9ac94cc44ef4f97063d7b696411b2a4be16f36 (diff)
glsl: Rebuild builtins for any() change.
Diffstat (limited to 'src/glsl/builtin_function.cpp')
-rw-r--r--src/glsl/builtin_function.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glsl/builtin_function.cpp b/src/glsl/builtin_function.cpp
index 517a6ad86d2..5471ba6020f 100644
--- a/src/glsl/builtin_function.cpp
+++ b/src/glsl/builtin_function.cpp
@@ -143,17 +143,17 @@ static const char *builtin_any =
" (signature bool\n"
" (parameters\n"
" (declare (in) bvec2 arg0))\n"
- " ((return (expression bool || (swiz x (var_ref arg0))(swiz y (var_ref arg0))))))\n"
+ " ((return (expression bool any (var_ref arg0)))))\n"
"\n"
" (signature bool\n"
" (parameters\n"
" (declare (in) bvec3 arg0))\n"
- " ((return (expression bool || (expression bool || (swiz x (var_ref arg0))(swiz y (var_ref arg0))) (swiz z (var_ref arg0))))))\n"
+ " ((return (expression bool any (var_ref arg0)))))\n"
"\n"
" (signature bool\n"
" (parameters\n"
" (declare (in) bvec4 arg0))\n"
- " ((return (expression bool || (expression bool || (expression bool || (swiz x (var_ref arg0))(swiz y (var_ref arg0))) (swiz z (var_ref arg0))) (swiz w (var_ref arg0))))))\n"
+ " ((return (expression bool any (var_ref arg0)))))\n"
"))\n"
""
;