Mesa (master): svga: remove TGSI_OPCODE_BREAKC instruction translation

Roland Scheidegger sroland at kemper.freedesktop.org
Sat Apr 20 00:28:11 UTC 2013


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

Author: Roland Scheidegger <sroland at vmware.com>
Date:   Sat Apr 20 00:38:31 2013 +0200

svga: remove TGSI_OPCODE_BREAKC instruction translation

While initially that opcode probably was meant for something along the
lines of sm3 break_comp it has never worked that way (not even the
argument count was right) and now the opcode has quite different
semantics so just remove it. (Discovered by Jose Fonseca)

---

 src/gallium/drivers/svga/svga_tgsi_insn.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/svga/svga_tgsi_insn.c b/src/gallium/drivers/svga/svga_tgsi_insn.c
index d439e5b..f94f3b2 100644
--- a/src/gallium/drivers/svga/svga_tgsi_insn.c
+++ b/src/gallium/drivers/svga/svga_tgsi_insn.c
@@ -45,7 +45,6 @@ translate_opcode(
    switch (opcode) {
    case TGSI_OPCODE_ABS:        return SVGA3DOP_ABS;
    case TGSI_OPCODE_ADD:        return SVGA3DOP_ADD;
-   case TGSI_OPCODE_BREAKC:     return SVGA3DOP_BREAKC;
    case TGSI_OPCODE_DP2A:       return SVGA3DOP_DP2ADD;
    case TGSI_OPCODE_DP3:        return SVGA3DOP_DP3;
    case TGSI_OPCODE_DP4:        return SVGA3DOP_DP4;




More information about the mesa-commit mailing list