mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 13:50:25 +01:00
aco: Don't insert p_reload_preserved in loops
This can't work. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39157>
This commit is contained in:
parent
c816f699b2
commit
0d93e8ce54
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ append_logical_end(isel_context* ctx, bool append_reload_preserved)
|
|||
{
|
||||
Builder bld(ctx->program, ctx->block);
|
||||
|
||||
if (append_reload_preserved && ctx->program->is_callee) {
|
||||
if (append_reload_preserved && ctx->program->is_callee && ctx->block->loop_nest_depth == 0) {
|
||||
Operand stack_ptr_op;
|
||||
if (ctx->program->gfx_level >= GFX9)
|
||||
stack_ptr_op = Operand(ctx->callee_info.stack_ptr.def.getTemp());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue