zink: omit Lod image operand in ntv when not using an image texture dim
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 2 Jul 2020 15:46:28 +0000 (11:46 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Jul 2020 14:01:29 +0000 (14:01 +0000)
commit3f783a3c507e16bffb2e460484fbf65eb11ba826
tree084ae9cf5009b36d2ed47b1e206fee87e984864a
parent0ef5e19874ba21f268c5ffdfff0b2819056ba51a
zink: omit Lod image operand in ntv when not using an image texture dim

according to spec, this is invalid (and it's not being used anyway)

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5911>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c