nir: Optimize mask+downcast to just downcast
authorJesse Natalie <jenatali@microsoft.com>
Thu, 21 May 2020 22:05:08 +0000 (15:05 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 17 Aug 2020 14:36:18 +0000 (14:36 +0000)
commita1ed83fddd7518cc92b609d60129426bd9b4158d
tree869e8bf3bf7d9b420c374ea26957d0c79b44875f
parentfd9b33d516737cbb8ac6cd47963d4214f69932b6
nir: Optimize mask+downcast to just downcast

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6330>
src/compiler/nir/nir_opt_algebraic.py