mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
radeonsi: always flush framebuffer caches at the beginning of IBs
better safe than sorry Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
parent
0615ad1c70
commit
a3e81f819c
1 changed files with 2 additions and 1 deletions
|
|
@ -164,7 +164,8 @@ void si_context_gfx_flush(void *context, unsigned flags,
|
|||
void si_begin_new_cs(struct si_context *ctx)
|
||||
{
|
||||
/* Flush read caches at the beginning of CS. */
|
||||
ctx->b.flags |= SI_CONTEXT_INV_TC_L1 |
|
||||
ctx->b.flags |= SI_CONTEXT_FLUSH_AND_INV_FRAMEBUFFER |
|
||||
SI_CONTEXT_INV_TC_L1 |
|
||||
SI_CONTEXT_INV_TC_L2 |
|
||||
SI_CONTEXT_INV_KCACHE |
|
||||
SI_CONTEXT_INV_ICACHE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue