pan/bi: Fix RA of node 0 again
Botched rebase.
Fixes: c578ca7393
("pan/bi: Add interference per clause")
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9105>
This commit is contained in:
parent
88ede65be8
commit
69f11f9e26
|
@ -63,7 +63,7 @@ bi_mark_interference(bi_block *block, bi_clause *clause, struct lcra_state *l, u
|
|||
if (bi_get_node(ins->dest[d]) >= node_count)
|
||||
continue;
|
||||
|
||||
for (unsigned i = 1; i < node_count; ++i) {
|
||||
for (unsigned i = 0; i < node_count; ++i) {
|
||||
if (live[i]) {
|
||||
lcra_add_node_interference(l, bi_get_node(ins->dest[d]),
|
||||
bi_writemask(ins), i, live[i]);
|
||||
|
@ -74,7 +74,7 @@ bi_mark_interference(bi_block *block, bi_clause *clause, struct lcra_state *l, u
|
|||
if (!is_blend && ins->op == BI_OPCODE_BLEND) {
|
||||
/* Add blend shader interference: blend shaders might
|
||||
* clobber r0-r15. */
|
||||
for (unsigned i = 1; i < node_count; ++i) {
|
||||
for (unsigned i = 0; i < node_count; ++i) {
|
||||
if (!live[i])
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Reference in New Issue