Parcourir la source

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
tags/11.1-branchpoint
Marek Olšák il y a 10 ans
Parent
révision
9932142192
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1
    0
      src/gallium/drivers/radeonsi/si_state_shaders.c

+ 1
- 0
src/gallium/drivers/radeonsi/si_state_shaders.c Voir le fichier

@@ -1246,6 +1246,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

Chargement…
Annuler
Enregistrer