aco: update ctx.block when inserting discard block
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13432 Backport-to: 25.1 Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35833>
This commit is contained in:
@@ -2427,6 +2427,7 @@ lower_to_hw_instr(Program* program)
|
||||
discard_exit_block = discard_block;
|
||||
}
|
||||
block = &program->blocks[block_idx];
|
||||
ctx.block = block;
|
||||
|
||||
/* sendmsg(dealloc_vgprs) releases scratch, so it isn't safe if there is an
|
||||
* in-progress scratch store. */
|
||||
|
||||
Reference in New Issue
Block a user