Botched rebase.
Fixes: c578ca73939 ("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>
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]);
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;