[Freedreno] [PATCH] freedreno/ir3: remove unused arg parameter
Ilia Mirkin
imirkin at alum.mit.edu
Sat Nov 29 11:06:10 PST 2014
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),
--
2.0.4
More information about the Freedreno
mailing list