glsl: fix mistake in a comment
authorBrian Paul <brianp@vmware.com>
Tue, 17 Feb 2009 23:31:59 +0000 (16:31 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 17 Feb 2009 23:31:59 +0000 (16:31 -0700)
src/mesa/shader/slang/slang_emit.c

index 8eed1e3e9c3fdbf42582f114bd1aff93f84f8054..ac01462bd5519dc303d4d594a4373cc0cd0ae40c 100644 (file)
@@ -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)