From: Roland Scheidegger Date: Fri, 19 Apr 2013 22:38:31 +0000 (+0200) Subject: svga: remove TGSI_OPCODE_BREAKC instruction translation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e8d1b26a8275822cbaa6fe241657c766c8df4169;p=mesa.git 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) --- 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;