瀏覽代碼

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 年之前
父節點
當前提交
9932142192
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/gallium/drivers/radeonsi/si_state_shaders.c

+ 1
- 0
src/gallium/drivers/radeonsi/si_state_shaders.c 查看文件

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

Loading…
取消
儲存