projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea32522
)
ir3: Support multi-mov instructions
author
Connor Abbott
<cwabbott0@gmail.com>
Fri, 25 Jun 2021 09:34:53 +0000
(11:34 +0200)
committer
Marge Bot
<eric+marge@anholt.net>
Tue, 29 Jun 2021 08:08:12 +0000
(08:08 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11565>
src/freedreno/ir3/ir3.c
patch
|
blob
|
history
diff --git
a/src/freedreno/ir3/ir3.c
b/src/freedreno/ir3/ir3.c
index
4680be6
..
9d9bf7d
100644
(file)
--- a/
src/freedreno/ir3/ir3.c
+++ b/
src/freedreno/ir3/ir3.c
@@
-249,8
+249,10
@@
ir3_collect_info(struct ir3_shader_variant *v)
collect_reg_info(instr, reg, info);
}
- if (writes_gpr(instr)) {
- collect_reg_info(instr, instr->dsts[0], info);
+ foreach_dst (reg, instr) {
+ if (is_dest_gpr(reg)) {
+ collect_reg_info(instr, reg, info);
+ }
}
if ((instr->opc == OPC_STP || instr->opc == OPC_LDP)) {