5f26c21e62
Instead of only handling all-undef stores, shrink the writemask to just the defined channels. Cleans up a bunch of writemasks on prog_to_nir output in particular. Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6054>