From: Eric Anholt Date: Thu, 23 Jul 2020 21:24:15 +0000 (-0700) Subject: nir: Expand opt_undef to handle undef channels in a store intrinsic. X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=5f26c21e62466783cd031c45a39544c992cee202;hp=5f26c21e62466783cd031c45a39544c992cee202 nir: Expand opt_undef to handle undef channels in a store intrinsic. 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 Part-of: ---