freedreno/ir3: remove unused arg parameter
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 29 Nov 2014 19:01:51 +0000 (14:01 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 30 Nov 2014 18:00:22 +0000 (13:00 -0500)
Leaving it around in the struct in case we want to use it later.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/freedreno/ir3/ir3_compiler.c

index 2d7ea1c..da72c5c 100644 (file)
@@ -2557,13 +2557,13 @@ static const struct instr_translater translaters[TGSI_OPCODE_LAST] = {
        INSTR(ABS,          instr_cat2, .opc = OPC_ABSNEG_F),
        INSTR(COS,          instr_cat4, .opc = OPC_COS),
        INSTR(SIN,          instr_cat4, .opc = OPC_SIN),
-       INSTR(TEX,          trans_samp, .opc = OPC_SAM, .arg = TGSI_OPCODE_TEX),
-       INSTR(TXP,          trans_samp, .opc = OPC_SAM, .arg = TGSI_OPCODE_TXP),
-       INSTR(TXB,          trans_samp, .opc = OPC_SAMB, .arg = TGSI_OPCODE_TXB),
-       INSTR(TXB2,         trans_samp, .opc = OPC_SAMB, .arg = TGSI_OPCODE_TXB2),
-       INSTR(TXL,          trans_samp, .opc = OPC_SAML, .arg = TGSI_OPCODE_TXL),
-       INSTR(TXD,          trans_samp, .opc = OPC_SAMGQ, .arg = TGSI_OPCODE_TXD),
-       INSTR(TXF,          trans_samp, .opc = OPC_ISAML, .arg = TGSI_OPCODE_TXF),
+       INSTR(TEX,          trans_samp, .opc = OPC_SAM),
+       INSTR(TXP,          trans_samp, .opc = OPC_SAM),
+       INSTR(TXB,          trans_samp, .opc = OPC_SAMB),
+       INSTR(TXB2,         trans_samp, .opc = OPC_SAMB),
+       INSTR(TXL,          trans_samp, .opc = OPC_SAML),
+       INSTR(TXD,          trans_samp, .opc = OPC_SAMGQ),
+       INSTR(TXF,          trans_samp, .opc = OPC_ISAML),
        INSTR(TXQ,          trans_txq),
        INSTR(DDX,          trans_deriv, .opc = OPC_DSX),
        INSTR(DDY,          trans_deriv, .opc = OPC_DSY),