summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-04-01 13:55:34 -0400
committerMarek Olšák <[email protected]>2018-04-05 15:34:58 -0400
commit5ed8b54ffe7abe21552cc06c867c1e514d52848f (patch)
treea7a2f73fafe4b1a4e30d260488fb73da17a1fb07 /src/gallium/drivers/radeonsi
parent72842d15acf7a71e4ccc7db6cd3d911aa5ca2a94 (diff)
radeonsi: remove r600_pipe_common::save_qbo_state
Acked-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/si_state.c3
-rw-r--r--src/gallium/drivers/radeonsi/si_state.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c
index 08ba5c0b7dc..8b2f075bd48 100644
--- a/src/gallium/drivers/radeonsi/si_state.c
+++ b/src/gallium/drivers/radeonsi/si_state.c
@@ -1361,7 +1361,7 @@ static void si_set_occlusion_query_state(struct pipe_context *ctx,
si_mark_atom_dirty(sctx, &sctx->msaa_config);
}
-static void si_save_qbo_state(struct pipe_context *ctx, struct r600_qbo_state *st)
+void si_save_qbo_state(struct pipe_context *ctx, struct r600_qbo_state *st)
{
struct si_context *sctx = (struct si_context*)ctx;
@@ -4589,7 +4589,6 @@ void si_init_state_functions(struct si_context *sctx)
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.save_qbo_state = si_save_qbo_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 37887853388..dcf38055f4f 100644
--- a/src/gallium/drivers/radeonsi/si_state.h
+++ b/src/gallium/drivers/radeonsi/si_state.h
@@ -403,6 +403,7 @@ si_create_sampler_view_custom(struct pipe_context *ctx,
unsigned force_level);
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);
/* si_state_binning.c */
void si_emit_dpbb_state(struct si_context *sctx, struct r600_atom *state);