zink: do not use SpvDimRect
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 4 Feb 2020 11:20:36 +0000 (12:20 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 14 Feb 2020 10:51:46 +0000 (10:51 +0000)
commit7e80b03dd15eefb7250b994e311864e720b0b1bb
tree788b9aab65cb6a0e47e372b295d74ee2202b215a
parentf43a3fc28ff8914e4a9391233dfc3b63454c6dac
zink: do not use SpvDimRect

Vulkan doesn't support SpvDimRect. But we don't need to pass this at
all, as we already mark the sampler as un-normalized.

Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3764>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3764>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c
src/gallium/drivers/zink/zink_context.c