nir: allow passing alpha-ref state to lowering-code
[mesa.git] / src / gallium / drivers / panfrost / pan_blending.h
index 8ddd81147ebfd65538b9b3b7d3b96d68e38802c9..5eee0bbdfc914119db1f1cf3d2bcdc276ffd24bb 100644 (file)
 
 struct panfrost_blend_state;
 
-bool panfrost_make_fixed_blend_mode(const struct pipe_rt_blend_state *blend, struct panfrost_blend_state *so, unsigned colormask, const struct pipe_blend_color *blend_color);
+bool
+panfrost_make_fixed_blend_mode(
+        const struct pipe_rt_blend_state *blend,
+        struct mali_blend_equation *out,
+        unsigned *constant_mask,
+        unsigned colormask);
+
+bool
+panfrost_can_fixed_blend(enum pipe_format format);
 
 #endif