zink: clamp out min_lod operands for explicit lod ops
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 11 May 2022 20:02:51 +0000 (16:02 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 12 May 2022 03:40:04 +0000 (03:40 +0000)
commit63dc39ac9047fce206ac11b6e556b6e9a0f8a07b
treecadb78df48cbdc553260ee44b8aaa80cccc9fe22
parent88912b31119a14ffc99087781a17eeb4af202866
zink: clamp out min_lod operands for explicit lod ops

this is illegal (and nonsensical)

cc: mesa-stable

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16456>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c