nir/lower_mediump: Treat u2u16 like i2i16.
authorGeorg Lehmann <dadschoorse@gmail.com>
Sat, 5 Feb 2022 11:08:27 +0000 (12:08 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 10 Feb 2022 16:13:54 +0000 (16:13 +0000)
commitc2168f845e7475d9a701be91ea761ae793a12636
tree7457cfd65729acb9989fe1b85141a45f29d0cfc7
parent532665c73cbd3b2b241b15f6d83d8b6cf80e431e
nir/lower_mediump: Treat u2u16 like i2i16.

There is a comment in nir_fold_16bit_sampler_conversions saying that these
are the same, but the code only checks for i2i16.

Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14893>
src/compiler/nir/nir_lower_mediump.c