From 0fd93b95898f8048ced8aa9f8db5472d4309b9e0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Iv=C3=A1n=20Briano?= Date: Thu, 12 Dec 2019 16:07:19 -0800 Subject: [PATCH] anv: Export filter_minmax support only when it's really supported Fixes: bea4d4c78c3 ("anv: add VK_EXT_sampler_filter_minmax support") Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/vulkan/anv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index c577abf0613..e8ed58cafba 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -1668,7 +1668,7 @@ void anv_GetPhysicalDeviceProperties2( VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT *properties = (VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT *)ext; properties->filterMinmaxImageComponentMapping = pdevice->info.gen >= 9; - properties->filterMinmaxSingleComponentFormats = true; + properties->filterMinmaxSingleComponentFormats = pdevice->info.gen >= 9; break; } -- 2.30.2