nir/lower_tex: avoid adding invalid LOD to RECT textures
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 7 Apr 2022 18:49:07 +0000 (14:49 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 7 Apr 2022 21:37:58 +0000 (21:37 +0000)
commit6cfcf891c1d5baa1e5e073b875831884ed049b5a
tree6fd6c2fe803e05e118d47883d4ab26b60a1fe2dc
parentdff88132464416b40ba2963f4be1f06092e19bc8
nir/lower_tex: avoid adding invalid LOD to RECT textures

this is illegal

Fixes: 74ec2b12be1 ("nir/lower_tex: Rework invalid implicit LOD lowering")

Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15804>
src/compiler/nir/nir_lower_tex.c