summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/radeonsi_pipe.h
diff options
context:
space:
mode:
authorChristian König <[email protected]>2012-07-17 14:09:03 +0200
committerChristian König <[email protected]>2012-07-24 12:29:29 +0200
commitbf7302a6e1f3aed4518498e90e8261a2b1f6afd7 (patch)
treec5c2f8c204eef583c4b27d722097700a6e95dfab /src/gallium/drivers/radeonsi/radeonsi_pipe.h
parent27382c0f7ba2ae826531ba4c254741b2a9df1882 (diff)
radeonsi: rework state handling v2
Add a complete new state handling for SI. v2: fix spelling error Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_pipe.h')
-rw-r--r--src/gallium/drivers/radeonsi/radeonsi_pipe.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.h b/src/gallium/drivers/radeonsi/radeonsi_pipe.h
index 6ba1017e16d..733afd9b4f0 100644
--- a/src/gallium/drivers/radeonsi/radeonsi_pipe.h
+++ b/src/gallium/drivers/radeonsi/radeonsi_pipe.h
@@ -36,6 +36,8 @@
#include "util/u_slab.h"
#include "r600.h"
#include "radeonsi_public.h"
+#include "radeonsi_pm4.h"
+#include "si_state.h"
#include "r600_resource.h"
#include "sid.h"
@@ -320,6 +322,10 @@ struct r600_context {
struct pipe_index_buffer index_buffer;
struct pipe_vertex_buffer vertex_buffer[PIPE_MAX_ATTRIBS];
unsigned nr_vertex_buffers;
+
+ /* SI state handling */
+ union si_state queued;
+ union si_state emitted;
};
static INLINE void r600_emit_atom(struct r600_context *rctx, struct r600_atom *atom)