diff options
author | Marek Olšák <[email protected]> | 2014-04-18 13:25:11 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-04-18 13:33:57 +0200 |
commit | 352e06ddea1108bad1d2c6742fe3a67b2b1da5d9 (patch) | |
tree | f371c7902bccdb520c3af95cb02071a761baa22a /src/gallium/drivers/radeonsi | |
parent | 744d2a225d4012bb4dcd13e0cb6c2c834f481e26 (diff) |
r600g,radeonsi: don't skip the context flush if a fence should be returned
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77589
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_hw_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_hw_context.c b/src/gallium/drivers/radeonsi/si_hw_context.c index 185041e9598..383157b7dd3 100644 --- a/src/gallium/drivers/radeonsi/si_hw_context.c +++ b/src/gallium/drivers/radeonsi/si_hw_context.c @@ -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; |