mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
radeonsi: add scratch buffer to the buffer list when it's re-allocated
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit 9932142192)
This commit is contained in:
parent
ab68081ffb
commit
ec7cda29b6
1 changed files with 1 additions and 0 deletions
|
|
@ -1213,6 +1213,7 @@ static bool si_update_spi_tmpring_size(struct si_context *sctx)
|
|||
PIPE_USAGE_DEFAULT, scratch_needed_size);
|
||||
if (!sctx->scratch_buffer)
|
||||
return false;
|
||||
sctx->emit_scratch_reloc = true;
|
||||
}
|
||||
|
||||
/* Update the shaders, so they are using the latest scratch. The
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue