diff options
author | Marek Olšák <[email protected]> | 2012-12-21 17:15:56 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-01-04 13:18:50 +0100 |
commit | 12aeb47b6af4b3100da26b3ab72ef93886479219 (patch) | |
tree | 68146772416068fdb68eb26af4db63306e198dc2 /src/gallium/drivers/radeonsi/radeonsi_pipe.c | |
parent | 598cc1f74d7ae924e84dee801b456ab7b0b22f84 (diff) |
gallium/radeon: send the END_OF_FRAME flag to the DRM
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_pipe.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_pipe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.c b/src/gallium/drivers/radeonsi/radeonsi_pipe.c index 6f32a376d70..d66e30f9995 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_pipe.c +++ b/src/gallium/drivers/radeonsi/radeonsi_pipe.c @@ -161,7 +161,8 @@ static void r600_flush_from_st(struct pipe_context *ctx, struct pipe_fence_handle **fence, enum pipe_flush_flags flags) { - radeonsi_flush(ctx, fence, 0); + radeonsi_flush(ctx, fence, + flags & PIPE_FLUSH_END_OF_FRAME ? RADEON_FLUSH_END_OF_FRAME : 0); } static void r600_flush_from_winsys(void *ctx, unsigned flags) |