From 63cb4077e6e7ad761f4aade0095d05d7c06f9f6f Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sat, 23 Aug 2014 03:25:29 +0200 Subject: radeonsi: move DB_RENDER_CONTROL into draw_vbo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit So that I can add fast depth clear. Reviewed-by: Michel Dänzer --- src/gallium/drivers/radeonsi/si_pipe.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/gallium/drivers/radeonsi/si_pipe.h') diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index 10f7e23c360..c4f38001c75 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -86,10 +86,7 @@ struct si_framebuffer { struct si_context { struct r600_common_context b; struct blitter_context *blitter; - void *custom_dsa_flush_depth_stencil[8]; - void *custom_dsa_flush_depth[8]; - void *custom_dsa_flush_stencil[8]; - void *custom_dsa_flush_inplace; + void *custom_dsa_flush; void *custom_blend_resolve; void *custom_blend_decompress; void *custom_blend_fastclear; @@ -161,6 +158,12 @@ struct si_context { /* SI state handling */ union si_state queued; union si_state emitted; + + /* Additional DB state. */ + bool dbcb_depth_copy_enabled; + bool dbcb_stencil_copy_enabled; + unsigned dbcb_copy_sample; + bool db_inplace_flush_enabled; }; /* si_blit.c */ -- cgit v1.2.3