[Mesa-dev] [PATCH mesa 2/3] vulkan: Import the XML and headers bits for VK_EXT_derivative_group_quad
Jason Ekstrand
jason at jlekstrand.net
Tue Nov 6 21:48:17 UTC 2018
---
include/vulkan/vulkan_core.h | 13 +++++++++++++
src/vulkan/registry/vk.xml | 13 ++++++++++---
2 files changed, 23 insertions(+), 3 deletions(-)
diff --git a/include/vulkan/vulkan_core.h b/include/vulkan/vulkan_core.h
index 4cd8ed51dcd..e14aaf8c184 100644
--- a/include/vulkan/vulkan_core.h
+++ b/include/vulkan/vulkan_core.h
@@ -451,6 +451,7 @@ typedef enum VkStructureType {
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV = 1000205002,
VK_STRUCTURE_TYPE_CHECKPOINT_DATA_NV = 1000206000,
VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV = 1000206001,
+ VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DERIVATIVE_GROUP_QUAD_PROPERTIES_EXT = 1000209000,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES_KHR = 1000211000,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT = 1000212000,
VK_STRUCTURE_TYPE_IMAGEPIPE_SURFACE_CREATE_INFO_FUCHSIA = 1000214000,
@@ -8791,6 +8792,18 @@ VKAPI_ATTR void VKAPI_CALL vkGetQueueCheckpointDataNV(
VkCheckpointDataNV* pCheckpointData);
#endif
+#define VK_EXT_derivative_group_quad 1
+#define VK_EXT_DERIVATIVE_GROUP_QUAD_SPEC_VERSION 1
+#define VK_EXT_DERIVATIVE_GROUP_QUAD_EXTENSION_NAME "VK_EXT_derivative_group_quad"
+
+typedef struct VkPhysicalDeviceDerivativeGroupQuadPropertiesEXT {
+ VkStructureType sType;
+ const void* pNext;
+ VkBool32 derivativeGroupsAreSubgroupQuads;
+} VkPhysicalDeviceDerivativeGroupQuadPropertiesEXT;
+
+
+
#define VK_EXT_pci_bus_info 1
#define VK_EXT_PCI_BUS_INFO_SPEC_VERSION 1
#define VK_EXT_PCI_BUS_INFO_EXTENSION_NAME "VK_EXT_pci_bus_info"
diff --git a/src/vulkan/registry/vk.xml b/src/vulkan/registry/vk.xml
index 24cc3ce7872..93dc66159bc 100644
--- a/src/vulkan/registry/vk.xml
+++ b/src/vulkan/registry/vk.xml
@@ -3590,6 +3590,11 @@ server.
<member>const <type>void</type>* <name>pNext</name></member>
<member><type>VkMemoryOverallocationBehaviorAMD</type> <name>overallocationBehavior</name></member>
</type>
+ <type category="struct" name="VkPhysicalDeviceDerivativeGroupQuadPropertiesEXT" structextends="VkPhysicalDeviceProperties2">
+ <member values="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DERIVATIVE_GROUP_QUAD_PROPERTIES_EXT"><type>VkStructureType</type> <name>sType</name></member>
+ <member>const <type>void</type>* <name>pNext</name></member>
+ <member><type>VkBool32</type> <name>derivativeGroupsAreSubgroupQuads</name></member>
+ </type>
</types>
<comment>Vulkan enumerant (token) definitions</comment>
@@ -9893,10 +9898,12 @@ server.
<enum value=""VK_KHR_extension_209"" name="VK_KHR_EXTENSION_209_EXTENSION_NAME"/>
</require>
</extension>
- <extension name="VK_INTEL_extension_210" number="210" type="device" author="INTEL" contact="Jason Ekstrand @jekstrand" supported="disabled">
+ <extension name="VK_EXT_derivative_group_quad" number="210" type="device" requiresCore="1.1" author="EXT" contact="Jason Ekstrand @jekstrand" supported="vulkan">
<require>
- <enum value="0" name="VK_KHR_EXTENSION_210_SPEC_VERSION"/>
- <enum value=""VK_KHR_extension_210"" name="VK_KHR_EXTENSION_210_EXTENSION_NAME"/>
+ <enum value="1" name="VK_EXT_DERIVATIVE_GROUP_QUAD_SPEC_VERSION"/>
+ <enum value=""VK_EXT_derivative_group_quad"" name="VK_EXT_DERIVATIVE_GROUP_QUAD_EXTENSION_NAME"/>
+ <enum offset="0" extends="VkStructureType" name="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DERIVATIVE_GROUP_QUAD_PROPERTIES_EXT"/>
+ <type name="VkPhysicalDeviceDerivativeGroupQuadPropertiesEXT"/>
</require>
</extension>
<extension name="VK_INTEL_extension_211" number="211" type="device" author="INTEL" contact="Jason Ekstrand @jekstrand" supported="disabled">
--
2.19.1
More information about the mesa-dev
mailing list