summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-05-15 23:45:57 +0200
committerMarek Olšák <[email protected]>2017-05-18 22:15:02 +0200
commitedb59ef2dc8085631e14153d2b7838b63961f2f0 (patch)
treec7e45e9dc859369797367770172ec8572c04b4c6 /src/gallium/drivers/radeonsi/si_pipe.h
parent06690e63f76441641379d8606c28b17f83c0776e (diff)
radeonsi: do only 1 big CE dump at end of IBs and one reload in the preamble
A later commit will only upload descriptors used by shaders, so we won't do full dumps anymore, so the only way to have a complete mirror of CE RAM in memory is to do a separate dump after the last draw call. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h
index 449a802f76b..13ec0729b19 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.h
+++ b/src/gallium/drivers/radeonsi/si_pipe.h
@@ -236,6 +236,9 @@ struct si_context {
struct radeon_winsys_cs *ce_ib;
struct radeon_winsys_cs *ce_preamble_ib;
+ struct r600_resource *ce_ram_saved_buffer;
+ unsigned ce_ram_saved_offset;
+ unsigned total_ce_ram_allocated;
bool ce_need_synchronization;
struct u_suballocator *ce_suballocator;