diff options
author | José Fonseca <[email protected]> | 2010-04-27 21:18:01 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-04-27 21:51:45 +0100 |
commit | 73e1405de0277bab2d617742ff5a764467e32899 (patch) | |
tree | 45f96e8fbab39a82ea911b129ad2e887be355ff5 /src/gallium/auxiliary/tgsi/tgsi_sanity.c | |
parent | ec4e67999c50da624dc3c93028a9ae91782164e6 (diff) |
tgsi: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_sanity.c')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_sanity.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_sanity.c b/src/gallium/auxiliary/tgsi/tgsi_sanity.c index 371f690b295..76b7564cc36 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_sanity.c +++ b/src/gallium/auxiliary/tgsi/tgsi_sanity.c @@ -346,25 +346,6 @@ iter_instruction( } } - switch (inst->Instruction.Opcode) { - case TGSI_OPCODE_BGNFOR: - case TGSI_OPCODE_ENDFOR: - if (inst->Dst[0].Register.File != TGSI_FILE_LOOP || - inst->Dst[0].Register.Index != 0) { - report_error(ctx, "Destination register must be LOOP[0]"); - } - break; - } - - switch (inst->Instruction.Opcode) { - case TGSI_OPCODE_BGNFOR: - if (inst->Src[0].Register.File != TGSI_FILE_CONSTANT && - inst->Src[0].Register.File != TGSI_FILE_IMMEDIATE) { - report_error(ctx, "Source register file must be either CONST or IMM"); - } - break; - } - ctx->num_instructions++; return TRUE; |