mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 06:00:14 +01:00
r600g,radeonsi: don't skip the context flush if a fence should be returned
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77589
This commit is contained in:
parent
744d2a225d
commit
352e06ddea
2 changed files with 2 additions and 2 deletions
|
|
@ -236,7 +236,7 @@ void r600_context_gfx_flush(void *context, unsigned flags,
|
|||
struct r600_context *ctx = context;
|
||||
struct radeon_winsys_cs *cs = ctx->b.rings.gfx.cs;
|
||||
|
||||
if (cs->cdw == ctx->b.initial_gfx_cs_size)
|
||||
if (cs->cdw == ctx->b.initial_gfx_cs_size && !fence)
|
||||
return;
|
||||
|
||||
ctx->b.rings.gfx.flushing = true;
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ void si_context_gfx_flush(void *context, unsigned flags,
|
|||
struct si_context *ctx = context;
|
||||
struct radeon_winsys_cs *cs = ctx->b.rings.gfx.cs;
|
||||
|
||||
if (cs->cdw == ctx->b.initial_gfx_cs_size)
|
||||
if (cs->cdw == ctx->b.initial_gfx_cs_size && !fence)
|
||||
return;
|
||||
|
||||
ctx->b.rings.gfx.flushing = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue