gallivm: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 27 Apr 2010 20:16:10 +0000 (21:16 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 27 Apr 2010 20:51:44 +0000 (21:51 +0100)
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c

index b9b13d8d6b39a897f30a0890a771cceeb9a11bc7..d3c769e28b88ae2c9236aa57c58ed9feda79ce1a 100644 (file)
@@ -1589,18 +1589,10 @@ emit_instruction(
       lp_exec_mask_cond_push(&bld->exec_mask, tmp0);
       break;
 
-   case TGSI_OPCODE_BGNFOR:
-      /* fall through */
    case TGSI_OPCODE_BGNLOOP:
       lp_exec_bgnloop(&bld->exec_mask);
       break;
 
-   case TGSI_OPCODE_REP:
-      /* deprecated */
-      assert(0);
-      return FALSE;
-      break;
-
    case TGSI_OPCODE_ELSE:
       lp_exec_mask_cond_invert(&bld->exec_mask);
       break;
@@ -1609,18 +1601,10 @@ emit_instruction(
       lp_exec_mask_cond_pop(&bld->exec_mask);
       break;
 
-   case TGSI_OPCODE_ENDFOR:
-      /* fall-through */
    case TGSI_OPCODE_ENDLOOP:
       lp_exec_endloop(&bld->exec_mask);
       break;
 
-   case TGSI_OPCODE_ENDREP:
-      /* deprecated */
-      assert(0);
-      return FALSE;
-      break;
-
    case TGSI_OPCODE_PUSHA:
       /* deprecated? */
       assert(0);