mojoshader.c
branchtrunk
changeset 429 ef7a8539fcb1
parent 428 8d410fecd518
child 430 2756be459ea1
equal deleted inserted replaced
428:8d410fecd518 429:ef7a8539fcb1
  6339 } // state_TEXLDL
  6339 } // state_TEXLDL
  6340 
  6340 
  6341 static void state_DP2ADD(Context *ctx)
  6341 static void state_DP2ADD(Context *ctx)
  6342 {
  6342 {
  6343     if (!replicate_swizzle(ctx->source_args[2].swizzle))
  6343     if (!replicate_swizzle(ctx->source_args[2].swizzle))
  6344         fail(ctx, "IFC src2 must have replicate swizzle");
  6344         fail(ctx, "DP2ADD src2 must have replicate swizzle");
  6345 } // state_DP2ADD
  6345 } // state_DP2ADD
  6346 
  6346 
  6347 
  6347 
  6348 // Lookup table for instruction opcodes...
  6348 // Lookup table for instruction opcodes...
  6349 typedef struct
  6349 typedef struct