summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-11-14 13:19:31 -0700
committerBrian Paul <brian.paul@tungstengraphics.com>2008-11-19 09:12:47 -0700
commitd9fa9e3290611944d5fd52301645367eeeb24f03 (patch)
tree57d06dade651985c67b92d7ab914ed177826633e /src
parent2f9ceb158afffe5ea390b909261988267e663e36 (diff)
mesa: updated comment
Diffstat (limited to 'src')
-rw-r--r--src/mesa/shader/slang/slang_codegen.c2
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 d23ae4d8cb..66e2d1f34b 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