From c3ebac68900de5ad461a7b5a279621a435f5bcec Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 29 Aug 2017 03:58:22 +0200 Subject: radeonsi/gfx9: implement primitive binning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This increases performance, but it was tuned for Raven, not Vega. We don't know yet how Vega will perform, hopefully not worse. Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_state.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/gallium/drivers/radeonsi/si_state.h') diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index 9770960dd22..17d210a3af2 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -153,6 +153,7 @@ union si_state_atoms { struct r600_atom *framebuffer; struct r600_atom *msaa_sample_locs; struct r600_atom *db_render_state; + struct r600_atom *dpbb_state; struct r600_atom *msaa_config; struct r600_atom *sample_mask; struct r600_atom *cb_render_state; @@ -373,7 +374,10 @@ si_create_sampler_view_custom(struct pipe_context *ctx, unsigned force_level); void si_update_fb_dirtiness_after_rendering(struct si_context *sctx); -/* si_state_shader.c */ +/* si_state_binning.c */ +void si_emit_dpbb_state(struct si_context *sctx, struct r600_atom *state); + +/* si_state_shaders.c */ bool si_update_shaders(struct si_context *sctx); void si_init_shader_functions(struct si_context *sctx); bool si_init_shader_cache(struct si_screen *sscreen); -- cgit v1.2.3