Mesa (master): Refresh autogenerated file builtin_function.cpp.
Kenneth Graunke
kwg at kemper.freedesktop.org
Wed Nov 17 22:10:30 UTC 2010
Module: Mesa
Branch: master
Commit: af1cba2260c3546ba89d47c9612d66f513e69842
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=af1cba2260c3546ba89d47c9612d66f513e69842
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Wed Nov 17 13:37:16 2010 -0800
Refresh autogenerated file builtin_function.cpp.
---
src/glsl/builtin_function.cpp | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/glsl/builtin_function.cpp b/src/glsl/builtin_function.cpp
index cf0a2a3..bc36814 100644
--- a/src/glsl/builtin_function.cpp
+++ b/src/glsl/builtin_function.cpp
@@ -714,9 +714,11 @@ static const char builtin_cross[] =
"((function cross\n"
" (signature vec3\n"
" (parameters\n"
- " (declare (in) vec3 arg0)\n"
- " (declare (in) vec3 arg1))\n"
- " ((return (expression vec3 cross (var_ref arg0) (var_ref arg1)))))\n"
+ " (declare (in) vec3 a)\n"
+ " (declare (in) vec3 b))\n"
+ " ((return (expression vec3 -\n"
+ " (expression vec3 * (swiz yzx (var_ref a)) (swiz zxy (var_ref b)))\n"
+ " (expression vec3 * (swiz zxy (var_ref a)) (swiz yzx (var_ref b)))))))\n"
"))\n"
""
;
More information about the mesa-commit
mailing list