diff options
author | Eric Engestrom <[email protected]> | 2016-07-30 01:23:09 +0100 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-07-30 09:23:42 -0400 |
commit | 3563c4d16138360fd8756576e0c9c825ed6cec86 (patch) | |
tree | ff455c6c9c2a6ba1eb64b32ec84f4178be15d80a | |
parent | 2d64a003c5059feebcb70b607311d380acc45962 (diff) |
freedreno/a2xx: remove duplicate assignment
CovID: 1362445, 1362446
Signed-off-by: Eric Engestrom <[email protected]>
Signed-off-by: Rob Clark <[email protected]>
-rw-r--r-- | src/gallium/drivers/freedreno/a2xx/ir-a2xx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/ir-a2xx.h b/src/gallium/drivers/freedreno/a2xx/ir-a2xx.h index 822e5ec4c23..36ed2043b2f 100644 --- a/src/gallium/drivers/freedreno/a2xx/ir-a2xx.h +++ b/src/gallium/drivers/freedreno/a2xx/ir-a2xx.h @@ -158,7 +158,7 @@ static inline struct ir2_instruction * ir2_instr_create_vtx_fetch(struct ir2_cf *cf, int ci, int cis, enum a2xx_sq_surfaceformat fmt, bool is_signed, int stride) { - struct ir2_instruction *instr = instr = ir2_instr_create(cf, IR2_FETCH); + struct ir2_instruction *instr = ir2_instr_create(cf, IR2_FETCH); instr->fetch.opc = VTX_FETCH; instr->fetch.const_idx = ci; instr->fetch.const_idx_sel = cis; @@ -170,7 +170,7 @@ ir2_instr_create_vtx_fetch(struct ir2_cf *cf, int ci, int cis, static inline struct ir2_instruction * ir2_instr_create_tex_fetch(struct ir2_cf *cf, int ci) { - struct ir2_instruction *instr = instr = ir2_instr_create(cf, IR2_FETCH); + struct ir2_instruction *instr = ir2_instr_create(cf, IR2_FETCH); instr->fetch.opc = TEX_FETCH; instr->fetch.const_idx = ci; return instr; |