radeonsi: move clip state to new handling
[mesa.git] / src / gallium / drivers / radeonsi / si_state.h
index 697c872135947f11ad5023fa4e59418af1f3cdb2..1ba6dcaa02b285d8e84388deff53ff1cb9d30bc9 100644 (file)
 
 #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;
+               struct si_pm4_state     *blend_color;
+               struct si_pm4_state     *clip;
        } named;
        struct si_pm4_state     *array[0];
 };
@@ -62,4 +71,6 @@ union si_state {
                } \
        } while(0);
 
+void si_init_state_functions(struct r600_context *rctx);
+
 #endif