Navigation Menu

Skip to content

Commit

Permalink
Fixed typo in error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 20, 2020
1 parent 13f5216 commit 26a72ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mojoshader.c
Expand Up @@ -1501,7 +1501,7 @@ static void state_MOVA(Context *ctx)
static void state_RCP(Context *ctx)
{
if (!replicate_swizzle(ctx->source_args[0].swizzle))
fail(ctx, "RCP without replicate swizzzle");
fail(ctx, "RCP without replicate swizzle");
} // state_RCP

static void state_LOOP(Context *ctx)
Expand All @@ -1528,7 +1528,7 @@ static void state_BREAKP(Context *ctx)
if (regtype != REG_TYPE_PREDICATE)
fail(ctx, "BREAKP argument isn't predicate register");
else if (!replicate_swizzle(ctx->source_args[0].swizzle))
fail(ctx, "BREAKP without replicate swizzzle");
fail(ctx, "BREAKP without replicate swizzle");
else if ((ctx->loops == 0) && (ctx->reps == 0))
fail(ctx, "BREAKP outside LOOP/ENDLOOP or REP/ENDREP");
} // state_BREAKP
Expand Down

0 comments on commit 26a72ae

Please sign in to comment.