ir3: Stop using nir_legalize_16bit_sampler_srcs.
authorGeorg Lehmann <dadschoorse@gmail.com>
Thu, 21 Jul 2022 13:04:48 +0000 (15:04 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 21 Jul 2022 19:15:04 +0000 (19:15 +0000)
commit775578b885349ccf3dbb1e2e8a90497c2ada93ea
tree4f6fc70b09a4c05615ab40a4a5cb4f76f7c1a053
parenta93786fc262357bb3d5b0095e3e24380b244bf52
ir3: Stop using nir_legalize_16bit_sampler_srcs.

nir_fold_16bit_tex_image's only_fold_all option ensures that there is never
a mix of bit sizes.

Closes https://gitlab.freedesktop.org/mesa/mesa/-/issues/6899

Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16978>
src/freedreno/ir3/ir3_nir.c