From: Ilia Mirkin Date: Sat, 29 Nov 2014 19:01:51 +0000 (-0500) Subject: freedreno/ir3: remove unused arg parameter X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=547182977f5d893334cb630b974136c05a9461ab;p=mesa.git freedreno/ir3: remove unused arg parameter Leaving it around in the struct in case we want to use it later. Signed-off-by: Ilia Mirkin --- diff --git a/src/gallium/drivers/freedreno/ir3/ir3_compiler.c b/src/gallium/drivers/freedreno/ir3/ir3_compiler.c index 2d7ea1c48cb..da72c5c33f7 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_compiler.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_compiler.c @@ -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),