mojoshader.c
changeset 1086 8dc4844bb579
parent 1085 dac9e6cea0d1
child 1087 16f9d37b2656
--- a/mojoshader.c	Sun Apr 15 01:07:45 2012 -0400
+++ b/mojoshader.c	Sun Apr 15 01:23:16 2012 -0400
@@ -6653,7 +6653,7 @@
     {
         const SourceArgInfo *src = &ctx->source_args[0];
         if ((src->regtype != REG_TYPE_TEMP) || (src->regnum != 0) ||
-            (src->swizzle != 0x0000))
+            (src->swizzle != 0xFF))
         {
             fail(ctx, "CND src must be r0.a in this shader model");
         } // if