projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
930ca0e
)
freedreno/ir3: remove pointless statement
author
Rob Clark
<robdclark@gmail.com>
Mon, 29 Jan 2018 20:35:12 +0000
(15:35 -0500)
committer
Rob Clark
<robdclark@gmail.com>
Sat, 10 Feb 2018 19:54:58 +0000
(14:54 -0500)
Function ends after this if/else ladder, so it was pointless.
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_cp.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/ir3/ir3_cp.c
b/src/gallium/drivers/freedreno/ir3/ir3_cp.c
index 61b4b20121511f7a434f1a1450c71081885c723c..6a48a7dcecc788999311b5397031323ebad98379 100644
(file)
--- a/
src/gallium/drivers/freedreno/ir3/ir3_cp.c
+++ b/
src/gallium/drivers/freedreno/ir3/ir3_cp.c
@@
-350,9
+350,6
@@
reg_cp(struct ir3_cp_ctx *ctx, struct ir3_instruction *instr,
reg->instr = ssa(src_reg);
}
- src = ssa(reg); /* could be null for IR3_REG_ARRAY case */
- if (!src)
- return;
} else if (is_same_type_mov(src) &&
/* cannot collapse const/immed/etc into meta instrs: */
!is_meta(instr)) {