From: Ilia Mirkin Date: Sun, 27 Nov 2016 22:39:52 +0000 (-0500) Subject: anv: clean up VkPhysicalDeviceFeatures list X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=be92b3f49d77e9318c822577323fec5a738e7c54;p=mesa.git anv: clean up VkPhysicalDeviceFeatures list Remove duplicate .alphaToOne, add missing .shaderResourceMinLod, and reorder a few entries to match their vulkan.h order. All the sparse features are still left out entirely. Signed-off-by: Ilia Mirkin Reviewed-by: Lionel Landwerlin Reviewed-by: Jason Ekstrand --- diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 20a3d7d9899..0b0f610ef34 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -467,18 +467,18 @@ void anv_GetPhysicalDeviceFeatures( .shaderImageGatherExtended = false, .shaderStorageImageExtendedFormats = true, .shaderStorageImageMultisample = false, + .shaderStorageImageReadWithoutFormat = false, + .shaderStorageImageWriteWithoutFormat = true, .shaderUniformBufferArrayDynamicIndexing = true, .shaderSampledImageArrayDynamicIndexing = true, .shaderStorageBufferArrayDynamicIndexing = true, .shaderStorageImageArrayDynamicIndexing = true, - .shaderStorageImageReadWithoutFormat = false, - .shaderStorageImageWriteWithoutFormat = true, .shaderClipDistance = true, .shaderCullDistance = true, .shaderFloat64 = false, .shaderInt64 = false, .shaderInt16 = false, - .alphaToOne = true, + .shaderResourceMinLod = false, .variableMultisampleRate = false, .inheritedQueries = false, };