From e8d1b26a8275822cbaa6fe241657c766c8df4169 Mon Sep 17 00:00:00 2001 From: Roland Scheidegger Date: Sat, 20 Apr 2013 00:38:31 +0200 Subject: [PATCH] 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 file changed, 1 deletion(-) 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; -- 2.30.2