Mesa (master): freedreno/ir3: remove unused arg parameter

Rob Clark robclark at kemper.freedesktop.org
Sun Nov 30 22:59:36 UTC 2014


Module: Mesa
Branch: master
Commit: 547182977f5d893334cb630b974136c05a9461ab
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=547182977f5d893334cb630b974136c05a9461ab

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat Nov 29 14:01:51 2014 -0500

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 <imirkin at alum.mit.edu>

---

 src/gallium/drivers/freedreno/ir3/ir3_compiler.c |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/gallium/drivers/freedreno/ir3/ir3_compiler.c b/src/gallium/drivers/freedreno/ir3/ir3_compiler.c
index 2d7ea1c..da72c5c 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),




More information about the mesa-commit mailing list