Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed CND state validation for ps_1_1.
  • Loading branch information
icculus committed Apr 15, 2012
1 parent 790001d commit 4f824f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader.c
Expand Up @@ -6653,7 +6653,7 @@ static void state_CND(Context *ctx)
{
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
Expand Down

0 comments on commit 4f824f4

Please sign in to comment.