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:
Samuel Pitoiset 2023-08-28 16:48:24 +02:00 committed by Marge Bot
parent 05185e8412
commit bfb39031f1

View file

@ -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);