mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
aco: stop scheduling at p_logical_end
No Foz-DB changes, but this fixes some issues when the spiller inserts scratch loads after p_logical_end for p_return. Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27119>
This commit is contained in:
parent
d1519e6ab7
commit
74fc2e287f
1 changed files with 3 additions and 0 deletions
|
|
@ -1087,6 +1087,9 @@ schedule_block(sched_ctx& ctx, Program* program, Block* block, live& live_vars)
|
|||
for (unsigned idx = 0; idx < block->instructions.size(); idx++) {
|
||||
Instruction* current = block->instructions[idx].get();
|
||||
|
||||
if (current->opcode == aco_opcode::p_logical_end)
|
||||
break;
|
||||
|
||||
if (block->kind & block_kind_export_end && current->isEXP() && ctx.schedule_pos_exports) {
|
||||
unsigned target = current->exp().dest;
|
||||
if (target >= V_008DFC_SQ_EXP_POS && target < V_008DFC_SQ_EXP_PRIM) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue