From 2c5f2936af642d8e4510154395215915c46b3fbb Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 28 Nov 2017 17:54:55 +0100 Subject: r300,r600,radeonsi: replace RADEON_FLUSH_* with PIPE_FLUSH_* MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and handle PIPE_FLUSH_HINT_FINISH in r300. Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/r600/r600_state_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/r600/r600_state_common.c') diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c index a977cdc30d2..d9b15929852 100644 --- a/src/gallium/drivers/r600/r600_state_common.c +++ b/src/gallium/drivers/r600/r600_state_common.c @@ -1835,7 +1835,7 @@ static void r600_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info /* make sure that the gfx ring is only one active */ if (radeon_emitted(rctx->b.dma.cs, 0)) { - rctx->b.dma.flush(rctx, RADEON_FLUSH_ASYNC, NULL); + rctx->b.dma.flush(rctx, PIPE_FLUSH_ASYNC, NULL); } /* Re-emit the framebuffer state if needed. */ -- cgit v1.2.3