diff options
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_fence.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_fence.c b/src/gallium/drivers/radeonsi/si_fence.c index b835ed649ee..61105217caa 100644 --- a/src/gallium/drivers/radeonsi/si_fence.c +++ b/src/gallium/drivers/radeonsi/si_fence.c @@ -445,12 +445,14 @@ static void si_flush_from_st(struct pipe_context *ctx, } multi_fence->fine = fine; + fine.buf = NULL; if (flags & TC_FLUSH_ASYNC) { util_queue_fence_signal(&multi_fence->ready); tc_unflushed_batch_token_reference(&multi_fence->tc_token, NULL); } } + assert(!fine.buf); finish: if (!(flags & PIPE_FLUSH_DEFERRED)) { if (rctx->dma.cs) |