mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-28 01:51:34 +00:00
r600/sb: update last_cf if alu is the last clause
It's rare to have a final alu clause on normal shaders (exports) but tess shaders write to LDS as their output, so we see some alu clauses, and the CF_END get put in the wrong place. This makes sure to update last_cf correctly. Acked-By: Roland Scheidegger <sroland@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
da977ad907
commit
2f2cef385f
@ -266,6 +266,7 @@ void bc_finalizer::run_on(container_node* c) {
|
||||
}
|
||||
}
|
||||
}
|
||||
last_cf = c;
|
||||
} else if (n->is_fetch_inst()) {
|
||||
finalize_fetch(static_cast<fetch_node*>(n));
|
||||
} else if (n->is_cf_inst()) {
|
||||
|
Loading…
Reference in New Issue
Block a user