aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-04-01 14:00:14 -0400
committerMarek Olšák <[email protected]>2018-04-05 15:34:58 -0400
commitfbf1bf9b8fa6668d12c1f9acc15540818eb31b6c (patch)
tree65ac747cb0994de32e67f1663ce8a5b4b4656cd9 /src/gallium/drivers/radeonsi
parent5ed8b54ffe7abe21552cc06c867c1e514d52848f (diff)
radeonsi: remove r600_common_context::set_occlusion_query_state
and remove unused old_enable parameter. Acked-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/si_state.c6
-rw-r--r--src/gallium/drivers/radeonsi/si_state.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c
index 8b2f075bd48..bb2ce3f00f4 100644
--- a/src/gallium/drivers/radeonsi/si_state.c
+++ b/src/gallium/drivers/radeonsi/si_state.c
@@ -1347,9 +1347,8 @@ static void si_set_active_query_state(struct pipe_context *ctx, boolean enable)
}
}
-static void si_set_occlusion_query_state(struct pipe_context *ctx,
- bool old_enable,
- bool old_perfect_enable)
+void si_set_occlusion_query_state(struct pipe_context *ctx,
+ bool old_perfect_enable)
{
struct si_context *sctx = (struct si_context*)ctx;
@@ -4588,7 +4587,6 @@ void si_init_state_functions(struct si_context *sctx)
sctx->b.b.set_tess_state = si_set_tess_state;
sctx->b.b.set_active_query_state = si_set_active_query_state;
- sctx->b.set_occlusion_query_state = si_set_occlusion_query_state;
sctx->b.b.draw_vbo = si_draw_vbo;
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h
index dcf38055f4f..d19045c5da2 100644
--- a/src/gallium/drivers/radeonsi/si_state.h
+++ b/src/gallium/drivers/radeonsi/si_state.h
@@ -404,6 +404,8 @@ si_create_sampler_view_custom(struct pipe_context *ctx,
void si_update_fb_dirtiness_after_rendering(struct si_context *sctx);
void si_update_ps_iter_samples(struct si_context *sctx);
void si_save_qbo_state(struct pipe_context *ctx, struct r600_qbo_state *st);
+void si_set_occlusion_query_state(struct pipe_context *ctx,
+ bool old_perfect_enable);
/* si_state_binning.c */
void si_emit_dpbb_state(struct si_context *sctx, struct r600_atom *state);