mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
anv: Export filter_minmax support only when it's really supported
Fixes: bea4d4c78c ("anv: add VK_EXT_sampler_filter_minmax support")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3071>
This commit is contained in:
parent
b936143327
commit
0fd93b9589
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue