summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_state.h
diff options
context:
space:
mode:
authorChristian König <[email protected]>2012-07-17 14:12:46 +0200
committerChristian König <[email protected]>2012-07-24 12:29:29 +0200
commit63636ae52aefc275115d1f3daac4e75285583485 (patch)
tree124ef1f0b00b84b18b55b55943eeb02a3225b296 /src/gallium/drivers/radeonsi/si_state.h
parentbf7302a6e1f3aed4518498e90e8261a2b1f6afd7 (diff)
radeonsi: move blender to new state handling
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_state.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h
index 697c8721359..ed880d6c916 100644
--- a/src/gallium/drivers/radeonsi/si_state.h
+++ b/src/gallium/drivers/radeonsi/si_state.h
@@ -29,8 +29,15 @@
#include "radeonsi_pm4.h"
+struct si_state_blend {
+ struct si_pm4_state pm4;
+ uint32_t cb_target_mask;
+ uint32_t cb_color_control;
+};
+
union si_state {
struct {
+ struct si_state_blend *blend;
} named;
struct si_pm4_state *array[0];
};
@@ -62,4 +69,6 @@ union si_state {
} \
} while(0);
+void si_init_state_functions(struct r600_context *rctx);
+
#endif