radv: only use VkSamplerCreateInfo::compareOp if enabled
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 14 Jan 2020 17:03:29 +0000 (18:03 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 15 Jan 2020 07:16:15 +0000 (08:16 +0100)
commit5ff12322c9d79780bf4f655aad831e4acb744ee7
treed75ca84f23711e06219d8a7055a3a984f2a7de6c
parent3f3ec07be51fd59a9ca0f5f68e75d59479daceac
radv: only use VkSamplerCreateInfo::compareOp if enabled

Cc: <mesa-stable@lists.freedesktop.org>
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2350
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3392>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3392>
src/amd/vulkan/radv_device.c