mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 00:30:11 +01:00
aco: skip LS VGPR initialization bug workaround if the prolog exists
Otherwise, we would do this twice. Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26111>
This commit is contained in:
parent
967c52097e
commit
b70c235e4a
1 changed files with 2 additions and 1 deletions
|
|
@ -11847,7 +11847,8 @@ select_shader(isel_context& ctx, nir_shader* nir, const bool need_startpgm, cons
|
|||
Pseudo_instruction* startpgm = add_startpgm(&ctx);
|
||||
append_logical_start(ctx.block);
|
||||
|
||||
if (unlikely(ctx.options->has_ls_vgpr_init_bug && ctx.stage == vertex_tess_control_hs))
|
||||
if (ctx.options->has_ls_vgpr_init_bug && ctx.stage == vertex_tess_control_hs &&
|
||||
!program->info.vs.has_prolog)
|
||||
fix_ls_vgpr_init_bug(&ctx);
|
||||
|
||||
split_arguments(&ctx, startpgm);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue