mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
r600/sfn: When splitting an ALU CF update possible start of next CF
Without this update a very long ALU block may not be splitted as required and lowering to assembly may fail because the maximum supported length of a ALU CF is overrun. Fixes:6aafa2bb49("r600/sfn: Split ALU blocks in scheduler to fit into 128 slots") Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36742> (cherry picked from commit63c801e8c2)
This commit is contained in:
parent
3ceca2beb7
commit
a24427b5cf
2 changed files with 2 additions and 1 deletions
|
|
@ -7914,7 +7914,7 @@
|
|||
"description": "r600/sfn: When splitting an ALU CF update possible start of next CF",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "6aafa2bb4903db20269b3062dfa73b3fe781facd",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -788,6 +788,7 @@ void BlockScheduler::maybe_split_alu_block(Shader::ShaderBlocks& out_blocks)
|
|||
next_block_start->set_instr_flag(Instr::force_cf);
|
||||
used_slots = pending_slots;
|
||||
pending_slots = cur_group->slots();
|
||||
next_block_start = cur_group;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue