gallium: move ddebug, noop, rbug, trace to auxiliary to improve build times
[mesa.git] / src / gallium / drivers / freedreno / a4xx / fd4_blend.h
index 821b3c82832c06bb6c13e1ed09f093e03a4d4a3d..6230fa7a50edae516e8081f2ac680774e4818fe3 100644 (file)
 #include "pipe/p_state.h"
 #include "pipe/p_context.h"
 
+#include "freedreno_util.h"
+
 struct fd4_blend_stateobj {
        struct pipe_blend_state base;
        struct {
                uint32_t control;
                uint32_t buf_info;
-               uint32_t blend_control;
-       } rb_mrt[8];
+               /* Blend control bits for color if there is an alpha channel */
+               uint32_t blend_control_rgb;
+               /* Blend control bits for color if there is no alpha channel */
+               uint32_t blend_control_no_alpha_rgb;
+               /* Blend control bits for alpha channel */
+               uint32_t blend_control_alpha;
+       } rb_mrt[A4XX_MAX_RENDER_TARGETS];
        uint32_t rb_fs_output;
 };