summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-08-23 03:25:29 +0200
committerMarek Olšák <[email protected]>2014-09-01 21:18:51 +0200
commit63cb4077e6e7ad761f4aade0095d05d7c06f9f6f (patch)
treede1b6a363231771014c3605da5672b473dae4217 /src/gallium/drivers/radeonsi/si_pipe.h
parent78aa71760161e7293cdb3f77ede27d36c2aae39b (diff)
radeonsi: move DB_RENDER_CONTROL into draw_vbo
So that I can add fast depth clear. Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.h11
1 files changed, 7 insertions, 4 deletions
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 */