mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 14:30:10 +01:00
aco: flag blocks with long-jump as export_end for separate compilation
This will allow us to adjust fix_exports(). Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24907>
This commit is contained in:
parent
05185e8412
commit
bfb39031f1
1 changed files with 1 additions and 0 deletions
|
|
@ -11571,6 +11571,7 @@ select_shader(isel_context& ctx, nir_shader* nir, const bool need_startpgm, cons
|
|||
(ctx.stage.sw == SWStage::TES && ctx.stage.hw == AC_HW_LEGACY_GEOMETRY_SHADER)) {
|
||||
assert(program->gfx_level >= GFX9);
|
||||
create_merged_jump_to_epilog(&ctx);
|
||||
ctx.block->kind |= block_kind_export_end;
|
||||
}
|
||||
|
||||
cleanup_context(&ctx);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue