summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-02-17 16:31:59 -0700
committerBrian Paul <brianp@vmware.com>2009-02-17 16:31:59 -0700
commitbe8dd0167884b3e135369d0c1b554c3965aedd9d (patch)
treee6ac012a6315aa17a0b4423ef1671b6294fd3625 /src/mesa/shader/slang
parentf59719c6c70d6b2a36d329b4cf02a079444cbca7 (diff)
glsl: fix mistake in a comment
Diffstat (limited to 'src/mesa/shader/slang')
-rw-r--r--src/mesa/shader/slang/slang_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_emit.c b/src/mesa/shader/slang/slang_emit.c
index 8eed1e3e9c..ac01462bd5 100644
--- a/src/mesa/shader/slang/slang_emit.c
+++ b/src/mesa/shader/slang/slang_emit.c
@@ -1820,7 +1820,7 @@ emit_cont_break_if_true(slang_emit_info *emitInfo, slang_ir_node *n)
* may be NIL/undefined. For example:
* swizzle_size(".zzxx") = 4
* swizzle_size(".xy??") = 2
- * swizzle_size(".xyz?") = 1
+ * swizzle_size(".w???") = 1
*/
static GLuint
swizzle_size(GLuint swizzle)