Skip to content

vc4/nir_lower_blend: update write mask when we update num components

As explained at the header of the lowering:

"Once this pass is done, the color write will either have one component (for single sample) with packed argb8888, or 4 components with the per-sample argb8888 result."

So in several cases the lowering was updating the number of components, so we need to update the writemask too.

Merge request reports