Mesa (master): anv: clean up VkPhysicalDeviceFeatures list

Ilia Mirkin imirkin at kemper.freedesktop.org
Wed Nov 30 05:22:10 UTC 2016


Module: Mesa
Branch: master
Commit: be92b3f49d77e9318c822577323fec5a738e7c54
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=be92b3f49d77e9318c822577323fec5a738e7c54

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sun Nov 27 17:39:52 2016 -0500

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 <imirkin at alum.mit.edu>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>

---

 src/intel/vulkan/anv_device.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 20a3d7d..0b0f610 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,
    };




More information about the mesa-commit mailing list