From 26a72ae345744fa4d604a4ea9d53b4fe33c22869 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 20 Jul 2020 15:14:32 -0400 Subject: [PATCH] Fixed typo in error message. --- mojoshader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mojoshader.c b/mojoshader.c index 0ccb072..f23011f 100644 --- a/mojoshader.c +++ b/mojoshader.c @@ -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) @@ -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