Mesa (master): gallivm: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Tue Apr 27 20:52:10 UTC 2010


Module: Mesa
Branch: master
Commit: b3ba54a01ab7aa2ff1fd569c3ed50c6dbc00b5f4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3ba54a01ab7aa2ff1fd569c3ed50c6dbc00b5f4

Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Apr 27 21:16:10 2010 +0100

gallivm: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes.

---

 src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
index b9b13d8..d3c769e 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
@@ -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);




More information about the mesa-commit mailing list