gallium: remove TGSI_OPCODE_SUB
[mesa.git] / src / gallium / drivers / nouveau / nv30 / nvfx_vertprog.c
index a802c43e22bcf346d5ef174bec348506ebe0ac4e..baea701a02797ee4dff221ccaebe181d2a4704cf 100644 (file)
@@ -672,9 +672,6 @@ nvfx_vertprog_parse_instruction(struct nvfx_vpc *vpc,
    case TGSI_OPCODE_SSG:
       nvfx_vp_emit(vpc, arith(sat, VEC, SSG, dst, mask, src[0], none, none));
       break;
-   case TGSI_OPCODE_SUB:
-      nvfx_vp_emit(vpc, arith(sat, VEC, ADD, dst, mask, src[0], none, neg(src[1])));
-      break;
    case TGSI_OPCODE_TRUNC:
       tmp = nvfx_src(temp(vpc));
       insn = arith(0, VEC, MOV, none.reg, mask, src[0], none, none);