From: Iván Briano Date: Fri, 13 Dec 2019 00:07:19 +0000 (-0800) Subject: anv: Export filter_minmax support only when it's really supported X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0fd93b95898f8048ced8aa9f8db5472d4309b9e0;p=mesa.git 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: --- 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; }