Ver código fonte

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 10 anos atrás
pai
commit
9932142192
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1
    0
      src/gallium/drivers/radeonsi/si_state_shaders.c

+ 1
- 0
src/gallium/drivers/radeonsi/si_state_shaders.c Ver arquivo

@@ -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

Carregando…
Cancelar
Salvar