diff options
author | Marek Olšák <[email protected]> | 2015-09-24 23:50:01 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-09-26 01:51:05 +0200 |
commit | 9932142192f848ae9dbc644551653547640346b4 (patch) | |
tree | 16a82051d8069da1f2eed517123a9bc5e5581332 | |
parent | 1e97b41893a4f53a71ee141a5e8a046fed7b49cd (diff) |
radeonsi: add scratch buffer to the buffer list when it's re-allocated
Reviewed-by: Michel Dänzer <[email protected]>
Cc: [email protected]
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state_shaders.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c index 56f868d81db..b5e14ead160 100644 --- a/src/gallium/drivers/radeonsi/si_state_shaders.c +++ b/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 |