summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2013-04-20 00:38:31 +0200
committerRoland Scheidegger <[email protected]>2013-04-20 02:27:53 +0200
commite8d1b26a8275822cbaa6fe241657c766c8df4169 (patch)
tree08d03f784049955d5dc969ba54dc2c9d140150d1
parent794579105a7c4868403f371e7a7deaf022373082 (diff)
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)
-rw-r--r--src/gallium/drivers/svga/svga_tgsi_insn.c1
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 d439e5b13aa..f94f3b2fc80 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;