diff options
Diffstat (limited to 'src/gallium/state_trackers/vega/vg_manager.c')
-rw-r--r-- | src/gallium/state_trackers/vega/vg_manager.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/vega/vg_manager.c b/src/gallium/state_trackers/vega/vg_manager.c index c8531f8b53a..7b35f3afeeb 100644 --- a/src/gallium/state_trackers/vega/vg_manager.c +++ b/src/gallium/state_trackers/vega/vg_manager.c @@ -143,7 +143,13 @@ vg_context_flush(struct st_context_iface *stctxi, unsigned flags, struct pipe_fence_handle **fence) { struct vg_context *ctx = (struct vg_context *) stctxi; - ctx->pipe->flush(ctx->pipe, fence); + enum pipe_flush_flags pipe_flags = 0; + + if (flags & ST_FLUSH_END_OF_FRAME) { + pipe_flags |= PIPE_FLUSH_END_OF_FRAME; + } + + ctx->pipe->flush(ctx->pipe, fence, pipe_flags); if (flags & ST_FLUSH_FRONT) vg_manager_flush_frontbuffer(ctx); } |