03a1a5009f
The ATEST instruction needs sample_mask as an input, but if the shader writes to color before sample_mask we could emit them in the wrong order. Fix this in pan_nir_lower_zs_store by deferring the color write until after the sample_mask write. Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Benjamin Lee <benjamin.lee@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32879>