Skip to content
Permalink
Browse files
RSQ opcode requires replicate swizzle.
  • Loading branch information
icculus committed Jul 20, 2020
1 parent 42cf2e1 commit 478b7df10d0a6678a293659d216d5e8bf154aa41

File 1 of 3 in 478b7df

@@ -1504,6 +1504,12 @@ static void state_RCP(Context *ctx)
fail(ctx, "RCP without replicate swizzle");
} // state_RCP

static void state_RSQ(Context *ctx)
{
if (!replicate_swizzle(ctx->source_args[0].swizzle))
fail(ctx, "RSQ without replicate swizzle");
} // state_RSQ

static void state_LOOP(Context *ctx)
{
if (ctx->source_args[0].regtype != REG_TYPE_LOOP)

0 comments on commit 478b7df

Please sign in to comment.