mirror of
https://github.com/KhronosGroup/Vulkan-Headers
synced 2024-11-21 06:26:00 -07:00
Update for Vulkan-Docs 1.2.176
This commit is contained in:
parent
f5ac258209
commit
074fa3055c
6 changed files with 1428 additions and 811 deletions
File diff suppressed because it is too large
Load diff
|
@ -370,7 +370,7 @@ typedef struct VkPhysicalDevicePortabilitySubsetPropertiesKHR {
|
|||
|
||||
|
||||
#define VK_KHR_video_encode_queue 1
|
||||
#define VK_KHR_VIDEO_ENCODE_QUEUE_SPEC_VERSION 1
|
||||
#define VK_KHR_VIDEO_ENCODE_QUEUE_SPEC_VERSION 2
|
||||
#define VK_KHR_VIDEO_ENCODE_QUEUE_EXTENSION_NAME "VK_KHR_video_encode_queue"
|
||||
|
||||
typedef enum VkVideoEncodeFlagBitsKHR {
|
||||
|
|
|
@ -36,7 +36,7 @@ extern "C" {
|
|||
|
||||
#ifndef VK_DEFINE_NON_DISPATCHABLE_HANDLE
|
||||
#if (VK_USE_64_BIT_PTR_DEFINES==1)
|
||||
#if __cplusplus >= 201103L
|
||||
#if __cplusplus >= 201103L || (defined(_MSVC_LANG) && (_MSVC_LANG >= 201103L))
|
||||
#define VK_NULL_HANDLE nullptr
|
||||
#else
|
||||
#define VK_NULL_HANDLE ((void*)0)
|
||||
|
@ -72,7 +72,7 @@ extern "C" {
|
|||
#define VK_API_VERSION_1_0 VK_MAKE_API_VERSION(0, 1, 0, 0)// Patch version should always be set to 0
|
||||
|
||||
// Version of this file
|
||||
#define VK_HEADER_VERSION 175
|
||||
#define VK_HEADER_VERSION 176
|
||||
|
||||
// Complete version of this file
|
||||
#define VK_HEADER_VERSION_COMPLETE VK_MAKE_API_VERSION(0, 1, 2, VK_HEADER_VERSION)
|
||||
|
@ -814,6 +814,7 @@ typedef enum VkStructureType {
|
|||
VK_STRUCTURE_TYPE_MEMORY_GET_ZIRCON_HANDLE_INFO_FUCHSIA = 1000364002,
|
||||
VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_ZIRCON_HANDLE_INFO_FUCHSIA = 1000365000,
|
||||
VK_STRUCTURE_TYPE_SEMAPHORE_GET_ZIRCON_HANDLE_INFO_FUCHSIA = 1000365001,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_2_FEATURES_EXT = 1000377000,
|
||||
VK_STRUCTURE_TYPE_SCREEN_SURFACE_CREATE_INFO_QNX = 1000378000,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COLOR_WRITE_ENABLE_FEATURES_EXT = 1000381000,
|
||||
VK_STRUCTURE_TYPE_PIPELINE_COLOR_WRITE_CREATE_INFO_EXT = 1000381001,
|
||||
|
@ -1543,6 +1544,11 @@ typedef enum VkDynamicState {
|
|||
VK_DYNAMIC_STATE_STENCIL_TEST_ENABLE_EXT = 1000267010,
|
||||
VK_DYNAMIC_STATE_STENCIL_OP_EXT = 1000267011,
|
||||
VK_DYNAMIC_STATE_VERTEX_INPUT_EXT = 1000352000,
|
||||
VK_DYNAMIC_STATE_PATCH_CONTROL_POINTS_EXT = 1000377000,
|
||||
VK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLE_EXT = 1000377001,
|
||||
VK_DYNAMIC_STATE_DEPTH_BIAS_ENABLE_EXT = 1000377002,
|
||||
VK_DYNAMIC_STATE_LOGIC_OP_EXT = 1000377003,
|
||||
VK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE_EXT = 1000377004,
|
||||
VK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXT = 1000381000,
|
||||
VK_DYNAMIC_STATE_MAX_ENUM = 0x7FFFFFFF
|
||||
} VkDynamicState;
|
||||
|
@ -8254,7 +8260,7 @@ VKAPI_ATTR void VKAPI_CALL vkCmdResolveImage2KHR(
|
|||
|
||||
#define VK_EXT_debug_report 1
|
||||
VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDebugReportCallbackEXT)
|
||||
#define VK_EXT_DEBUG_REPORT_SPEC_VERSION 9
|
||||
#define VK_EXT_DEBUG_REPORT_SPEC_VERSION 10
|
||||
#define VK_EXT_DEBUG_REPORT_EXTENSION_NAME "VK_EXT_debug_report"
|
||||
|
||||
typedef enum VkDebugReportObjectTypeEXT {
|
||||
|
@ -10378,7 +10384,7 @@ typedef struct VkPipelineCompilerControlCreateInfoAMD {
|
|||
|
||||
|
||||
#define VK_EXT_calibrated_timestamps 1
|
||||
#define VK_EXT_CALIBRATED_TIMESTAMPS_SPEC_VERSION 1
|
||||
#define VK_EXT_CALIBRATED_TIMESTAMPS_SPEC_VERSION 2
|
||||
#define VK_EXT_CALIBRATED_TIMESTAMPS_EXTENSION_NAME "VK_EXT_calibrated_timestamps"
|
||||
|
||||
typedef enum VkTimeDomainEXT {
|
||||
|
@ -11985,7 +11991,7 @@ typedef struct VkPhysicalDeviceFragmentDensityMap2PropertiesEXT {
|
|||
|
||||
|
||||
#define VK_QCOM_rotated_copy_commands 1
|
||||
#define VK_QCOM_ROTATED_COPY_COMMANDS_SPEC_VERSION 0
|
||||
#define VK_QCOM_ROTATED_COPY_COMMANDS_SPEC_VERSION 1
|
||||
#define VK_QCOM_ROTATED_COPY_COMMANDS_EXTENSION_NAME "VK_QCOM_rotated_copy_commands"
|
||||
typedef struct VkCopyCommandTransformInfoQCOM {
|
||||
VkStructureType sType;
|
||||
|
@ -12098,6 +12104,46 @@ VKAPI_ATTR void VKAPI_CALL vkCmdSetVertexInputEXT(
|
|||
#endif
|
||||
|
||||
|
||||
#define VK_EXT_extended_dynamic_state2 1
|
||||
#define VK_EXT_EXTENDED_DYNAMIC_STATE_2_SPEC_VERSION 1
|
||||
#define VK_EXT_EXTENDED_DYNAMIC_STATE_2_EXTENSION_NAME "VK_EXT_extended_dynamic_state2"
|
||||
typedef struct VkPhysicalDeviceExtendedDynamicState2FeaturesEXT {
|
||||
VkStructureType sType;
|
||||
void* pNext;
|
||||
VkBool32 extendedDynamicState2;
|
||||
VkBool32 extendedDynamicState2LogicOp;
|
||||
VkBool32 extendedDynamicState2PatchControlPoints;
|
||||
} VkPhysicalDeviceExtendedDynamicState2FeaturesEXT;
|
||||
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdSetPatchControlPointsEXT)(VkCommandBuffer commandBuffer, uint32_t patchControlPoints);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdSetRasterizerDiscardEnableEXT)(VkCommandBuffer commandBuffer, VkBool32 rasterizerDiscardEnable);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdSetDepthBiasEnableEXT)(VkCommandBuffer commandBuffer, VkBool32 depthBiasEnable);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdSetLogicOpEXT)(VkCommandBuffer commandBuffer, VkLogicOp logicOp);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdSetPrimitiveRestartEnableEXT)(VkCommandBuffer commandBuffer, VkBool32 primitiveRestartEnable);
|
||||
|
||||
#ifndef VK_NO_PROTOTYPES
|
||||
VKAPI_ATTR void VKAPI_CALL vkCmdSetPatchControlPointsEXT(
|
||||
VkCommandBuffer commandBuffer,
|
||||
uint32_t patchControlPoints);
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL vkCmdSetRasterizerDiscardEnableEXT(
|
||||
VkCommandBuffer commandBuffer,
|
||||
VkBool32 rasterizerDiscardEnable);
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL vkCmdSetDepthBiasEnableEXT(
|
||||
VkCommandBuffer commandBuffer,
|
||||
VkBool32 depthBiasEnable);
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL vkCmdSetLogicOpEXT(
|
||||
VkCommandBuffer commandBuffer,
|
||||
VkLogicOp logicOp);
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL vkCmdSetPrimitiveRestartEnableEXT(
|
||||
VkCommandBuffer commandBuffer,
|
||||
VkBool32 primitiveRestartEnable);
|
||||
#endif
|
||||
|
||||
|
||||
#define VK_EXT_color_write_enable 1
|
||||
#define VK_EXT_COLOR_WRITE_ENABLE_SPEC_VERSION 1
|
||||
#define VK_EXT_COLOR_WRITE_ENABLE_EXTENSION_NAME "VK_EXT_color_write_enable"
|
||||
|
|
File diff suppressed because one or more lines are too long
170
registry/vk.xml
170
registry/vk.xml
|
@ -153,7 +153,7 @@ branch of the member gitlab server.
|
|||
<type category="define" requires="VK_MAKE_API_VERSION">// Vulkan 1.2 version number
|
||||
#define <name>VK_API_VERSION_1_2</name> <type>VK_MAKE_API_VERSION</type>(0, 1, 2, 0)// Patch version should always be set to 0</type>
|
||||
<type category="define">// Version of this file
|
||||
#define <name>VK_HEADER_VERSION</name> 175</type>
|
||||
#define <name>VK_HEADER_VERSION</name> 176</type>
|
||||
<type category="define" requires="VK_HEADER_VERSION">// Complete version of this file
|
||||
#define <name>VK_HEADER_VERSION_COMPLETE</name> <type>VK_MAKE_API_VERSION</type>(0, 1, 2, VK_HEADER_VERSION)</type>
|
||||
|
||||
|
@ -171,7 +171,7 @@ branch of the member gitlab server.
|
|||
<type category="define" requires="VK_USE_64_BIT_PTR_DEFINES" name="VK_NULL_HANDLE">
|
||||
#ifndef VK_DEFINE_NON_DISPATCHABLE_HANDLE
|
||||
#if (VK_USE_64_BIT_PTR_DEFINES==1)
|
||||
#if __cplusplus >= 201103L
|
||||
#if __cplusplus >= 201103L || (defined(_MSVC_LANG) && (_MSVC_LANG >= 201103L))
|
||||
#define VK_NULL_HANDLE nullptr
|
||||
#else
|
||||
#define VK_NULL_HANDLE ((void*)0)
|
||||
|
@ -2115,7 +2115,7 @@ typedef void <name>CAMetalLayer</name>;
|
|||
<type category="struct" name="VkIndirectCommandsLayoutCreateInfoNV">
|
||||
<member values="VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NV"><type>VkStructureType</type> <name>sType</name></member>
|
||||
<member optional="true">const <type>void</type>* <name>pNext</name></member>
|
||||
<member><type>VkIndirectCommandsLayoutUsageFlagsNV</type> <name>flags</name></member>
|
||||
<member optional="true"><type>VkIndirectCommandsLayoutUsageFlagsNV</type> <name>flags</name></member>
|
||||
<member><type>VkPipelineBindPoint</type> <name>pipelineBindPoint</name></member>
|
||||
<member><type>uint32_t</type> <name>tokenCount</name></member>
|
||||
<member len="tokenCount">const <type>VkIndirectCommandsLayoutTokenNV</type>* <name>pTokens</name></member>
|
||||
|
@ -4310,7 +4310,7 @@ typedef void <name>CAMetalLayer</name>;
|
|||
<type category="struct" name="VkFramebufferAttachmentImageInfoKHR" alias="VkFramebufferAttachmentImageInfo"/>
|
||||
<type category="struct" name="VkRenderPassAttachmentBeginInfo" structextends="VkRenderPassBeginInfo">
|
||||
<member values="VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO"><type>VkStructureType</type> <name>sType</name></member>
|
||||
<member optional="true">const <type>void</type>* <name>pNext</name></member> <!-- Pointer to next structure -->
|
||||
<member optional="true">const <type>void</type>* <name>pNext</name></member>
|
||||
<member optional="true"><type>uint32_t</type> <name>attachmentCount</name></member>
|
||||
<member len="attachmentCount">const <type>VkImageView</type>* <name>pAttachments</name></member>
|
||||
</type>
|
||||
|
@ -4405,7 +4405,7 @@ typedef void <name>CAMetalLayer</name>;
|
|||
</type>
|
||||
<type category="struct" name="VkPerformanceCounterKHR" returnedonly="true">
|
||||
<member values="VK_STRUCTURE_TYPE_PERFORMANCE_COUNTER_KHR"><type>VkStructureType</type> <name>sType</name></member>
|
||||
<member optional="true">const <type>void</type>* <name>pNext</name></member> <!-- Pointer to next structure -->
|
||||
<member optional="true">const <type>void</type>* <name>pNext</name></member>
|
||||
<member><type>VkPerformanceCounterUnitKHR</type> <name>unit</name></member>
|
||||
<member><type>VkPerformanceCounterScopeKHR</type> <name>scope</name></member>
|
||||
<member><type>VkPerformanceCounterStorageKHR</type> <name>storage</name></member>
|
||||
|
@ -4413,7 +4413,7 @@ typedef void <name>CAMetalLayer</name>;
|
|||
</type>
|
||||
<type category="struct" name="VkPerformanceCounterDescriptionKHR" returnedonly="true">
|
||||
<member values="VK_STRUCTURE_TYPE_PERFORMANCE_COUNTER_DESCRIPTION_KHR"><type>VkStructureType</type> <name>sType</name></member>
|
||||
<member optional="true">const <type>void</type>* <name>pNext</name></member> <!-- Pointer to next structure -->
|
||||
<member optional="true">const <type>void</type>* <name>pNext</name></member>
|
||||
<member optional="true"><type>VkPerformanceCounterDescriptionFlagsKHR</type> <name>flags</name></member>
|
||||
<member><type>char</type> <name>name</name>[<enum>VK_MAX_DESCRIPTION_SIZE</enum>]</member>
|
||||
<member><type>char</type> <name>category</name>[<enum>VK_MAX_DESCRIPTION_SIZE</enum>]</member>
|
||||
|
@ -4421,7 +4421,7 @@ typedef void <name>CAMetalLayer</name>;
|
|||
</type>
|
||||
<type category="struct" name="VkQueryPoolPerformanceCreateInfoKHR" structextends="VkQueryPoolCreateInfo">
|
||||
<member values="VK_STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_CREATE_INFO_KHR"><type>VkStructureType</type> <name>sType</name></member>
|
||||
<member optional="true">const <type>void</type>* <name>pNext</name></member> <!-- Pointer to next structure -->
|
||||
<member optional="true">const <type>void</type>* <name>pNext</name></member>
|
||||
<member><type>uint32_t</type> <name>queueFamilyIndex</name></member>
|
||||
<member><type>uint32_t</type> <name>counterIndexCount</name></member>
|
||||
<member len="counterIndexCount">const <type>uint32_t</type>* <name>pCounterIndices</name></member>
|
||||
|
@ -5011,6 +5011,13 @@ typedef void <name>CAMetalLayer</name>;
|
|||
<member optional="true"><type>void</type>* <name>pNext</name></member>
|
||||
<member><type>VkBool32</type> <name>extendedDynamicState</name></member>
|
||||
</type>
|
||||
<type category="struct" name="VkPhysicalDeviceExtendedDynamicState2FeaturesEXT" structextends="VkPhysicalDeviceFeatures2,VkDeviceCreateInfo">
|
||||
<member values="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_2_FEATURES_EXT"><type>VkStructureType</type> <name>sType</name></member>
|
||||
<member optional="true"><type>void</type>* <name>pNext</name></member>
|
||||
<member><type>VkBool32</type> <name>extendedDynamicState2</name></member>
|
||||
<member><type>VkBool32</type> <name>extendedDynamicState2LogicOp</name></member>
|
||||
<member><type>VkBool32</type> <name>extendedDynamicState2PatchControlPoints</name></member>
|
||||
</type>
|
||||
<type category="struct" name="VkRenderPassTransformBeginInfoQCOM" structextends="VkRenderPassBeginInfo">
|
||||
<member values="VK_STRUCTURE_TYPE_RENDER_PASS_TRANSFORM_BEGIN_INFO_QCOM"><type>VkStructureType</type> <name>sType</name></member>
|
||||
<member optional="true"><type>void</type>* <name>pNext</name><comment>Pointer to next structure</comment></member>
|
||||
|
@ -5763,21 +5770,21 @@ typedef void <name>CAMetalLayer</name>;
|
|||
<member><type>uint8_t</type> <name>maxQp</name></member>
|
||||
</type>
|
||||
<type category="struct" name="VkPhysicalDeviceInheritedViewportScissorFeaturesNV" structextends="VkPhysicalDeviceFeatures2,VkDeviceCreateInfo">
|
||||
<member values="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INHERITED_VIEWPORT_SCISSOR_FEATURES_NV"><type>VkStructureType</type> <name>sType</name></member>
|
||||
<member><type>void</type>* <name>pNext</name></member>
|
||||
<member><type>VkBool32</type> <name>inheritedViewportScissor2D</name></member>
|
||||
<member values="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INHERITED_VIEWPORT_SCISSOR_FEATURES_NV"><type>VkStructureType</type> <name>sType</name></member>
|
||||
<member><type>void</type>* <name>pNext</name></member>
|
||||
<member><type>VkBool32</type> <name>inheritedViewportScissor2D</name></member>
|
||||
</type>
|
||||
<type category="struct" name="VkCommandBufferInheritanceViewportScissorInfoNV" structextends="VkCommandBufferInheritanceInfo">
|
||||
<member values="VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_VIEWPORT_SCISSOR_INFO_NV"><type>VkStructureType</type> <name>sType</name></member>
|
||||
<member>const <type>void</type>* <name>pNext</name></member>
|
||||
<member><type>VkBool32</type> <name>viewportScissor2D</name></member>
|
||||
<member><type>uint32_t</type> <name>viewportDepthCount</name></member>
|
||||
<member noautovalidity="true">const <type>VkViewport</type>* <name>pViewportDepths</name></member>
|
||||
<member values="VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_VIEWPORT_SCISSOR_INFO_NV"><type>VkStructureType</type> <name>sType</name></member>
|
||||
<member>const <type>void</type>* <name>pNext</name></member>
|
||||
<member><type>VkBool32</type> <name>viewportScissor2D</name></member>
|
||||
<member><type>uint32_t</type> <name>viewportDepthCount</name></member>
|
||||
<member noautovalidity="true">const <type>VkViewport</type>* <name>pViewportDepths</name></member>
|
||||
</type>
|
||||
<type category="struct" name="VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT" structextends="VkPhysicalDeviceFeatures2,VkDeviceCreateInfo">
|
||||
<member values="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_2_PLANE_444_FORMATS_FEATURES_EXT"><type>VkStructureType</type> <name>sType</name></member>
|
||||
<member optional="true"><type>void</type>* <name>pNext</name></member>
|
||||
<member><type>VkBool32</type> <name>ycbcr2plane444Formats</name></member>
|
||||
<member values="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_2_PLANE_444_FORMATS_FEATURES_EXT"><type>VkStructureType</type> <name>sType</name></member>
|
||||
<member optional="true"><type>void</type>* <name>pNext</name></member>
|
||||
<member><type>VkBool32</type> <name>ycbcr2plane444Formats</name></member>
|
||||
</type>
|
||||
</types>
|
||||
<comment>Vulkan enumerant (token) definitions</comment>
|
||||
|
@ -10036,6 +10043,31 @@ typedef void <name>CAMetalLayer</name>;
|
|||
<param><type>VkStencilOp</type> <name>depthFailOp</name></param>
|
||||
<param><type>VkCompareOp</type> <name>compareOp</name></param>
|
||||
</command>
|
||||
<command queues="graphics" renderpass="both" cmdbufferlevel="primary,secondary">
|
||||
<proto><type>void</type> <name>vkCmdSetPatchControlPointsEXT</name></proto>
|
||||
<param externsync="true"><type>VkCommandBuffer</type> <name>commandBuffer</name></param>
|
||||
<param><type>uint32_t</type> <name>patchControlPoints</name></param>
|
||||
</command>
|
||||
<command queues="graphics" renderpass="both" cmdbufferlevel="primary,secondary">
|
||||
<proto><type>void</type> <name>vkCmdSetRasterizerDiscardEnableEXT</name></proto>
|
||||
<param externsync="true"><type>VkCommandBuffer</type> <name>commandBuffer</name></param>
|
||||
<param><type>VkBool32</type> <name>rasterizerDiscardEnable</name></param>
|
||||
</command>
|
||||
<command queues="graphics" renderpass="both" cmdbufferlevel="primary,secondary">
|
||||
<proto><type>void</type> <name>vkCmdSetDepthBiasEnableEXT</name></proto>
|
||||
<param externsync="true"><type>VkCommandBuffer</type> <name>commandBuffer</name></param>
|
||||
<param><type>VkBool32</type> <name>depthBiasEnable</name></param>
|
||||
</command>
|
||||
<command queues="graphics" renderpass="both" cmdbufferlevel="primary,secondary">
|
||||
<proto><type>void</type> <name>vkCmdSetLogicOpEXT</name></proto>
|
||||
<param externsync="true"><type>VkCommandBuffer</type> <name>commandBuffer</name></param>
|
||||
<param><type>VkLogicOp</type> <name>logicOp</name></param>
|
||||
</command>
|
||||
<command queues="graphics" renderpass="both" cmdbufferlevel="primary,secondary">
|
||||
<proto><type>void</type> <name>vkCmdSetPrimitiveRestartEnableEXT</name></proto>
|
||||
<param externsync="true"><type>VkCommandBuffer</type> <name>commandBuffer</name></param>
|
||||
<param><type>VkBool32</type> <name>primitiveRestartEnable</name></param>
|
||||
</command>
|
||||
<command successcodes="VK_SUCCESS" errorcodes="VK_ERROR_OUT_OF_HOST_MEMORY">
|
||||
<proto><type>VkResult</type> <name>vkCreatePrivateDataSlotEXT</name></proto>
|
||||
<param><type>VkDevice</type> <name>device</name></param>
|
||||
|
@ -10377,7 +10409,6 @@ typedef void <name>CAMetalLayer</name>;
|
|||
<type name="VkQueueFlags"/>
|
||||
<type name="VkSampleCountFlagBits"/>
|
||||
<type name="VkSampleCountFlags"/>
|
||||
<type name="VkStructureType"/>
|
||||
<type name="VkSystemAllocationScope"/>
|
||||
<command name="vkCreateInstance"/>
|
||||
<command name="vkDestroyInstance"/>
|
||||
|
@ -11232,7 +11263,6 @@ typedef void <name>CAMetalLayer</name>;
|
|||
<enum offset="0" extends="VkStructureType" extnumber="212" name="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES"/>
|
||||
<type name="VkPhysicalDeviceVulkanMemoryModelFeatures"/>
|
||||
</require>
|
||||
<!-- Phase 2 features -->
|
||||
<require comment="Promoted from VK_KHR_imageless_framebuffer (extension 109)">
|
||||
<type name="VkPhysicalDeviceImagelessFramebufferFeatures"/>
|
||||
<type name="VkFramebufferAttachmentsCreateInfo"/>
|
||||
|
@ -11507,7 +11537,7 @@ typedef void <name>CAMetalLayer</name>;
|
|||
</extension>
|
||||
<extension name="VK_EXT_debug_report" number="12" type="instance" author="GOOGLE" contact="Courtney Goeltzenleuchter @courtney-g" specialuse="debugging" supported="vulkan" deprecatedby="VK_EXT_debug_utils">
|
||||
<require>
|
||||
<enum value="9" name="VK_EXT_DEBUG_REPORT_SPEC_VERSION"/>
|
||||
<enum value="10" name="VK_EXT_DEBUG_REPORT_SPEC_VERSION"/>
|
||||
<enum value=""VK_EXT_debug_report"" name="VK_EXT_DEBUG_REPORT_EXTENSION_NAME"/>
|
||||
<enum offset="0" extends="VkStructureType" name="VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT"/>
|
||||
<enum alias="VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT" extends="VkStructureType" name="VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT" comment="Backwards-compatible alias containing a typo"/>
|
||||
|
@ -11725,7 +11755,7 @@ typedef void <name>CAMetalLayer</name>;
|
|||
</extension>
|
||||
<extension name="VK_KHR_video_encode_queue" number="300" type="device" requires="VK_KHR_video_queue,VK_KHR_synchronization2" author="KHR" contact="ahmed.abdelkalek@amd.com" provisional="true" platform="provisional" supported="vulkan">
|
||||
<require>
|
||||
<enum value="1" name="VK_KHR_VIDEO_ENCODE_QUEUE_SPEC_VERSION"/>
|
||||
<enum value="2" name="VK_KHR_VIDEO_ENCODE_QUEUE_SPEC_VERSION"/>
|
||||
<enum value=""VK_KHR_video_encode_queue"" name="VK_KHR_VIDEO_ENCODE_QUEUE_EXTENSION_NAME"/>
|
||||
<enum bitpos="27" extends="VkPipelineStageFlagBits2KHR" name="VK_PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHR" protect="VK_ENABLE_BETA_EXTENSIONS" />
|
||||
<enum bitpos="37" extends="VkAccessFlagBits2KHR" name="VK_ACCESS_2_VIDEO_ENCODE_READ_BIT_KHR" protect="VK_ENABLE_BETA_EXTENSIONS" />
|
||||
|
@ -13947,7 +13977,7 @@ typedef void <name>CAMetalLayer</name>;
|
|||
</extension>
|
||||
<extension name="VK_EXT_calibrated_timestamps" number="185" type="device" author="EXT" contact="Daniel Rakos @drakos-amd" supported="vulkan">
|
||||
<require>
|
||||
<enum value="1" name="VK_EXT_CALIBRATED_TIMESTAMPS_SPEC_VERSION"/>
|
||||
<enum value="2" name="VK_EXT_CALIBRATED_TIMESTAMPS_SPEC_VERSION"/>
|
||||
<enum value=""VK_EXT_calibrated_timestamps"" name="VK_EXT_CALIBRATED_TIMESTAMPS_EXTENSION_NAME"/>
|
||||
<enum offset="0" extends="VkStructureType" name="VK_STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXT"/>
|
||||
<type name="VkTimeDomainEXT"/>
|
||||
|
@ -15466,10 +15496,10 @@ typedef void <name>CAMetalLayer</name>;
|
|||
</extension>
|
||||
<extension name="VK_KHR_zero_initialize_workgroup_memory" number="326" type="device" requires="VK_KHR_get_physical_device_properties2" author="KHR" contact="Alan Baker @alan-baker" supported="vulkan">
|
||||
<require>
|
||||
<enum value="1" name="VK_KHR_ZERO_INITIALIZE_WORKGROUP_MEMORY_SPEC_VERSION"/>
|
||||
<enum value=""VK_KHR_zero_initialize_workgroup_memory"" name="VK_KHR_ZERO_INITIALIZE_WORKGROUP_MEMORY_EXTENSION_NAME"/>
|
||||
<enum offset="0" extends="VkStructureType" name="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES_KHR"/>
|
||||
<type name="VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR"/>
|
||||
<enum value="1" name="VK_KHR_ZERO_INITIALIZE_WORKGROUP_MEMORY_SPEC_VERSION"/>
|
||||
<enum value=""VK_KHR_zero_initialize_workgroup_memory"" name="VK_KHR_ZERO_INITIALIZE_WORKGROUP_MEMORY_EXTENSION_NAME"/>
|
||||
<enum offset="0" extends="VkStructureType" name="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES_KHR"/>
|
||||
<type name="VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR"/>
|
||||
</require>
|
||||
</extension>
|
||||
<extension name="VK_NV_fragment_shading_rate_enums" number="327" type="device" requires="VK_KHR_fragment_shading_rate" author="NV" contact="Pat Brown @nvpbrown" supported="vulkan">
|
||||
|
@ -15539,7 +15569,7 @@ typedef void <name>CAMetalLayer</name>;
|
|||
</extension>
|
||||
<extension name="VK_QCOM_rotated_copy_commands" number="334" type="device" requires="VK_KHR_swapchain,VK_KHR_copy_commands2" author="QCOM" contact="Jeff Leger @jackohound" supported="vulkan">
|
||||
<require>
|
||||
<enum value="0" name="VK_QCOM_ROTATED_COPY_COMMANDS_SPEC_VERSION"/>
|
||||
<enum value="1" name="VK_QCOM_ROTATED_COPY_COMMANDS_SPEC_VERSION"/>
|
||||
<enum value=""VK_QCOM_rotated_copy_commands"" name="VK_QCOM_ROTATED_COPY_COMMANDS_EXTENSION_NAME"/>
|
||||
<enum offset="0" extends="VkStructureType" name="VK_STRUCTURE_TYPE_COPY_COMMAND_TRANSFORM_INFO_QCOM"/>
|
||||
<type name="VkCopyCommandTransformInfoQCOM"/>
|
||||
|
@ -15774,32 +15804,32 @@ typedef void <name>CAMetalLayer</name>;
|
|||
</require>
|
||||
</extension>
|
||||
<extension name="VK_FUCHSIA_external_memory" number="365" type="device" requires="VK_KHR_external_memory_capabilities,VK_KHR_external_memory" author="FUCHSIA" contact="John Rosasco @rosasco" platform="fuchsia" supported="vulkan">
|
||||
<require>
|
||||
<enum value="1" name="VK_FUCHSIA_EXTERNAL_MEMORY_SPEC_VERSION"/>
|
||||
<enum value=""VK_FUCHSIA_external_memory"" name="VK_FUCHSIA_EXTERNAL_MEMORY_EXTENSION_NAME"/>
|
||||
<enum offset="0" extends="VkStructureType" name="VK_STRUCTURE_TYPE_IMPORT_MEMORY_ZIRCON_HANDLE_INFO_FUCHSIA"/>
|
||||
<enum offset="1" extends="VkStructureType" name="VK_STRUCTURE_TYPE_MEMORY_ZIRCON_HANDLE_PROPERTIES_FUCHSIA"/>
|
||||
<enum offset="2" extends="VkStructureType" name="VK_STRUCTURE_TYPE_MEMORY_GET_ZIRCON_HANDLE_INFO_FUCHSIA"/>
|
||||
<enum bitpos="11" extends="VkExternalMemoryHandleTypeFlagBits" name="VK_EXTERNAL_MEMORY_HANDLE_TYPE_ZIRCON_VMO_BIT_FUCHSIA"/>
|
||||
<type name="VkImportMemoryZirconHandleInfoFUCHSIA"/>
|
||||
<type name="VkMemoryZirconHandlePropertiesFUCHSIA"/>
|
||||
<type name="VkMemoryGetZirconHandleInfoFUCHSIA"/>
|
||||
<command name="vkGetMemoryZirconHandleFUCHSIA"/>
|
||||
<command name="vkGetMemoryZirconHandlePropertiesFUCHSIA"/>
|
||||
</require>
|
||||
<require>
|
||||
<enum value="1" name="VK_FUCHSIA_EXTERNAL_MEMORY_SPEC_VERSION"/>
|
||||
<enum value=""VK_FUCHSIA_external_memory"" name="VK_FUCHSIA_EXTERNAL_MEMORY_EXTENSION_NAME"/>
|
||||
<enum offset="0" extends="VkStructureType" name="VK_STRUCTURE_TYPE_IMPORT_MEMORY_ZIRCON_HANDLE_INFO_FUCHSIA"/>
|
||||
<enum offset="1" extends="VkStructureType" name="VK_STRUCTURE_TYPE_MEMORY_ZIRCON_HANDLE_PROPERTIES_FUCHSIA"/>
|
||||
<enum offset="2" extends="VkStructureType" name="VK_STRUCTURE_TYPE_MEMORY_GET_ZIRCON_HANDLE_INFO_FUCHSIA"/>
|
||||
<enum bitpos="11" extends="VkExternalMemoryHandleTypeFlagBits" name="VK_EXTERNAL_MEMORY_HANDLE_TYPE_ZIRCON_VMO_BIT_FUCHSIA"/>
|
||||
<type name="VkImportMemoryZirconHandleInfoFUCHSIA"/>
|
||||
<type name="VkMemoryZirconHandlePropertiesFUCHSIA"/>
|
||||
<type name="VkMemoryGetZirconHandleInfoFUCHSIA"/>
|
||||
<command name="vkGetMemoryZirconHandleFUCHSIA"/>
|
||||
<command name="vkGetMemoryZirconHandlePropertiesFUCHSIA"/>
|
||||
</require>
|
||||
</extension>
|
||||
<extension name="VK_FUCHSIA_external_semaphore" number="366" type="device" requires="VK_KHR_external_semaphore_capabilities,VK_KHR_external_semaphore" author="FUCHSIA" contact="John Rosasco @rosasco" platform="fuchsia" supported="vulkan">
|
||||
<require>
|
||||
<enum value="1" name="VK_FUCHSIA_EXTERNAL_SEMAPHORE_SPEC_VERSION"/>
|
||||
<enum value=""VK_FUCHSIA_external_semaphore"" name="VK_FUCHSIA_EXTERNAL_SEMAPHORE_EXTENSION_NAME"/>
|
||||
<enum offset="0" extends="VkStructureType" name="VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_ZIRCON_HANDLE_INFO_FUCHSIA"/>
|
||||
<enum offset="1" extends="VkStructureType" name="VK_STRUCTURE_TYPE_SEMAPHORE_GET_ZIRCON_HANDLE_INFO_FUCHSIA"/>
|
||||
<enum bitpos="7" extends="VkExternalSemaphoreHandleTypeFlagBits" name="VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_ZIRCON_EVENT_BIT_FUCHSIA"/>
|
||||
<type name="VkImportSemaphoreZirconHandleInfoFUCHSIA"/>
|
||||
<type name="VkSemaphoreGetZirconHandleInfoFUCHSIA"/>
|
||||
<command name="vkImportSemaphoreZirconHandleFUCHSIA"/>
|
||||
<command name="vkGetSemaphoreZirconHandleFUCHSIA"/>
|
||||
</require>
|
||||
<require>
|
||||
<enum value="1" name="VK_FUCHSIA_EXTERNAL_SEMAPHORE_SPEC_VERSION"/>
|
||||
<enum value=""VK_FUCHSIA_external_semaphore"" name="VK_FUCHSIA_EXTERNAL_SEMAPHORE_EXTENSION_NAME"/>
|
||||
<enum offset="0" extends="VkStructureType" name="VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_ZIRCON_HANDLE_INFO_FUCHSIA"/>
|
||||
<enum offset="1" extends="VkStructureType" name="VK_STRUCTURE_TYPE_SEMAPHORE_GET_ZIRCON_HANDLE_INFO_FUCHSIA"/>
|
||||
<enum bitpos="7" extends="VkExternalSemaphoreHandleTypeFlagBits" name="VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_ZIRCON_EVENT_BIT_FUCHSIA"/>
|
||||
<type name="VkImportSemaphoreZirconHandleInfoFUCHSIA"/>
|
||||
<type name="VkSemaphoreGetZirconHandleInfoFUCHSIA"/>
|
||||
<command name="vkImportSemaphoreZirconHandleFUCHSIA"/>
|
||||
<command name="vkGetSemaphoreZirconHandleFUCHSIA"/>
|
||||
</require>
|
||||
</extension>
|
||||
<extension name="VK_FUCHSIA_extension_367" number="367" author="FUCHSIA" contact="Craig Stout @cdotstout" supported="disabled">
|
||||
<require>
|
||||
|
@ -15874,12 +15904,24 @@ typedef void <name>CAMetalLayer</name>;
|
|||
<enum value=""VK_EXT_extension_377"" name="VK_EXT_EXTENSION_377_EXTENSION_NAME"/>
|
||||
</require>
|
||||
</extension>
|
||||
<extension name="VK_NV_extension_378" number="378" author="NV" contact="Vikram Kushwaha @vkushwaha-nv" supported="disabled">
|
||||
<extension name="VK_EXT_extended_dynamic_state2" number="378" type="device" requires="VK_KHR_get_physical_device_properties2" author="EXT" contact="Vikram Kushwaha @vkushwaha-nv" supported="vulkan">
|
||||
<require>
|
||||
<enum value="0" name="VK_NV_EXTENSION_378_SPEC_VERSION"/>
|
||||
<enum value=""VK_NV_extension_378"" name="VK_NV_EXTENSION_378_EXTENSION_NAME"/>
|
||||
</require>
|
||||
</extension>
|
||||
<enum value="1" name="VK_EXT_EXTENDED_DYNAMIC_STATE_2_SPEC_VERSION"/>
|
||||
<enum value=""VK_EXT_extended_dynamic_state2"" name="VK_EXT_EXTENDED_DYNAMIC_STATE_2_EXTENSION_NAME"/>
|
||||
<enum offset="0" extends="VkStructureType" name="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_2_FEATURES_EXT"/>
|
||||
<enum offset="0" extends="VkDynamicState" name="VK_DYNAMIC_STATE_PATCH_CONTROL_POINTS_EXT"/>
|
||||
<enum offset="1" extends="VkDynamicState" name="VK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLE_EXT"/>
|
||||
<enum offset="2" extends="VkDynamicState" name="VK_DYNAMIC_STATE_DEPTH_BIAS_ENABLE_EXT"/>
|
||||
<enum offset="3" extends="VkDynamicState" name="VK_DYNAMIC_STATE_LOGIC_OP_EXT"/>
|
||||
<enum offset="4" extends="VkDynamicState" name="VK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE_EXT"/>
|
||||
<type name="VkPhysicalDeviceExtendedDynamicState2FeaturesEXT"/>
|
||||
<command name="vkCmdSetPatchControlPointsEXT"/>
|
||||
<command name="vkCmdSetRasterizerDiscardEnableEXT"/>
|
||||
<command name="vkCmdSetDepthBiasEnableEXT"/>
|
||||
<command name="vkCmdSetLogicOpEXT"/>
|
||||
<command name="vkCmdSetPrimitiveRestartEnableEXT"/>
|
||||
</require>
|
||||
</extension>
|
||||
<extension name="VK_QNX_screen_surface" number="379" type="instance" requires="VK_KHR_surface" platform="screen" author="QNX" contact="Mike Gorchak @mgorchak-blackberry" supported="vulkan">
|
||||
<require>
|
||||
<enum value="1" name="VK_QNX_SCREEN_SURFACE_SPEC_VERSION"/>
|
||||
|
@ -15946,10 +15988,10 @@ typedef void <name>CAMetalLayer</name>;
|
|||
</require>
|
||||
</extension>
|
||||
<extension name="VK_EXT_extension_388" number="388" author="EXT" contact="Alan Baker @alan-baker" supported="disabled">
|
||||
<require>
|
||||
<enum value="0" name="VK_EXT_EXTENSION_388_SPEC_VERSION"/>
|
||||
<enum value=""VK_EXT_extension_388"" name="VK_EXT_EXTENSION_388_EXTENSION_NAME"/>
|
||||
</require>
|
||||
<require>
|
||||
<enum value="0" name="VK_EXT_EXTENSION_388_SPEC_VERSION"/>
|
||||
<enum value=""VK_EXT_extension_388"" name="VK_EXT_EXTENSION_388_EXTENSION_NAME"/>
|
||||
</require>
|
||||
</extension>
|
||||
<extension name="VK_EXT_extension_389" number="389" author="EXT" contact="Yiwei Zhang @zhangyiwei" supported="disabled">
|
||||
<require>
|
||||
|
@ -15987,6 +16029,12 @@ typedef void <name>CAMetalLayer</name>;
|
|||
<enum value=""VK_EXT_extension_394"" name="VK_EXT_EXTENSION_394_EXTENSION_NAME"/>
|
||||
</require>
|
||||
</extension>
|
||||
<extension name="VK_KHR_extension_395" number="395" author="KHR" contact="Lenny Komow @lkomow" supported="disabled">
|
||||
<require>
|
||||
<enum value="0" name="VK_KHR_EXTENSION_395_SPEC_VERSION"/>
|
||||
<enum value=""VK_KHR_extension_395"" name="VK_KHR_EXTENSION_395_EXTENSION_NAME"/>
|
||||
</require>
|
||||
</extension>
|
||||
</extensions>
|
||||
<spirvextensions comment="SPIR-V Extensions allowed in Vulkan and what is required to use it">
|
||||
<spirvextension name="SPV_KHR_variable_pointers">
|
||||
|
|
|
@ -87,6 +87,7 @@ class VulkanConventions(ConventionsBase):
|
|||
|
||||
def generate_structure_type_from_name(self, structname):
|
||||
"""Generate a structure type name, like VK_STRUCTURE_TYPE_CREATE_INSTANCE_INFO"""
|
||||
|
||||
structure_type_parts = []
|
||||
# Tokenize into "words"
|
||||
for elem in MAIN_RE.findall(structname):
|
||||
|
@ -95,7 +96,18 @@ class VulkanConventions(ConventionsBase):
|
|||
structure_type_parts.append('VK_STRUCTURE_TYPE')
|
||||
else:
|
||||
structure_type_parts.append(word.upper())
|
||||
return '_'.join(structure_type_parts)
|
||||
name = '_'.join(structure_type_parts)
|
||||
|
||||
# The simple-minded rules need modification for some structure names
|
||||
subpats = [
|
||||
[ r'_H_(26[45])_', r'_H\1_' ],
|
||||
[ r'_VULKAN_([0-9])([0-9])_', r'_VULKAN_\1_\2_' ],
|
||||
[ r'_DIRECT_FB_', r'_DIRECTFB_' ],
|
||||
]
|
||||
|
||||
for subpat in subpats:
|
||||
name = re.sub(subpat[0], subpat[1], name)
|
||||
return name
|
||||
|
||||
@property
|
||||
def warning_comment(self):
|
||||
|
|
Loading…
Reference in a new issue