commit | ea715741b5b31044d00959b61bbc96db913e958e | [log] [tgz] |
---|---|---|
author | Jesse Natalie <jenatali@microsoft.com> | Mon Jun 22 11:51:09 2020 -0700 |
committer | Marge Bot <eric+marge@anholt.net> | Thu Aug 27 16:57:42 2020 +0000 |
tree | 7d2d65f259871451e69858d09e907f87b84593b4 | |
parent | 0d595f72b2ccea462d01923e02957f1458acdd35 [diff] |
nir_lower_bit_size: Support lowering ops with differing source/dest sizes Specifically the bit-finding routines always return int32. Don't complain about the dest already being 32 bits when lowering to 32 bits, and don't bother casting the dest if it's already right. Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6313>