From 70c40cc9899c1e895004c3e25c4f763af44cd17d Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sat, 7 Nov 2015 16:24:47 +0100 Subject: gallium/radeon: remove predicate_drawing flag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeon/r600_pipe_common.h | 1 - src/gallium/drivers/radeon/r600_query.c | 1 - 2 files changed, 2 deletions(-) (limited to 'src/gallium/drivers/radeon') diff --git a/src/gallium/drivers/radeon/r600_pipe_common.h b/src/gallium/drivers/radeon/r600_pipe_common.h index 09465ae0596..ba9000f74ec 100644 --- a/src/gallium/drivers/radeon/r600_pipe_common.h +++ b/src/gallium/drivers/radeon/r600_pipe_common.h @@ -421,7 +421,6 @@ struct r600_common_context { struct pipe_query *current_render_cond; unsigned current_render_cond_mode; boolean current_render_cond_cond; - bool predicate_drawing; bool render_cond_force_off; /* for u_blitter */ /* MSAA sample locations. diff --git a/src/gallium/drivers/radeon/r600_query.c b/src/gallium/drivers/radeon/r600_query.c index 145b629deb1..9f92587a54b 100644 --- a/src/gallium/drivers/radeon/r600_query.c +++ b/src/gallium/drivers/radeon/r600_query.c @@ -834,7 +834,6 @@ static void r600_render_condition(struct pipe_context *ctx, rctx->current_render_cond = query; rctx->current_render_cond_cond = condition; rctx->current_render_cond_mode = mode; - rctx->predicate_drawing = query != NULL; /* Compute the size of SET_PREDICATION packets. */ atom->num_dw = 0; -- cgit v1.2.3