summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_state.h
diff options
context:
space:
mode:
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