Mesa (gallium-0.2): mesa: updated comment
Alan Hourihane
alanh at kemper.freedesktop.org
Thu Nov 20 13:44:23 UTC 2008
Module: Mesa
Branch: gallium-0.2
Commit: d9fa9e3290611944d5fd52301645367eeeb24f03
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9fa9e3290611944d5fd52301645367eeeb24f03
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date: Fri Nov 14 13:19:31 2008 -0700
mesa: updated comment
---
src/mesa/shader/slang/slang_codegen.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c
index d23ae4d..66e2d1f 100644
--- a/src/mesa/shader/slang/slang_codegen.c
+++ b/src/mesa/shader/slang/slang_codegen.c
@@ -1477,6 +1477,8 @@ _slang_simple_writemask(GLuint writemask, GLuint swizzle)
* Convert the given swizzle into a writemask. In some cases this
* is trivial, in other cases, we'll need to also swizzle the right
* hand side to put components in the right places.
+ * See comment above for more info.
+ * XXX this function could be simplified and should probably be renamed.
* \param swizzle the incoming swizzle
* \param writemaskOut returns the writemask
* \param swizzleOut swizzle to apply to the right-hand-side
More information about the mesa-commit
mailing list