Add VK_EXT_debug_marker extension to vk.xml.
This commit is contained in:
parent
75bbb5f4d5
commit
041c5bbffd
|
@ -2135,6 +2135,28 @@ maintained in the master branch of the Khronos Vulkan Github project.
|
||||||
<member>const <type>void</type>* <name>pNext</name></member> <!-- Pointer to next structure -->
|
<member>const <type>void</type>* <name>pNext</name></member> <!-- Pointer to next structure -->
|
||||||
<member><type>VkRasterizationOrderAMD</type> <name>rasterizationOrder</name></member> <!-- Rasterization order to use for the pipeline -->
|
<member><type>VkRasterizationOrderAMD</type> <name>rasterizationOrder</name></member> <!-- Rasterization order to use for the pipeline -->
|
||||||
</type>
|
</type>
|
||||||
|
<type category="struct" name="VkDebugMarkerObjectNameInfoEXT">
|
||||||
|
<member><type>VkStructureType</type> <name>sType</name></member> <!-- Must be VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT -->
|
||||||
|
<member>const <type>void</type>* <name>pNext</name></member> <!-- Pointer to next structure -->
|
||||||
|
<member><type>VkDebugReportObjectTypeEXT</type> <name>objectType</name></member> <!-- The type of the object -->
|
||||||
|
<member><type>uint64_t</type> <name>object</name></member> <!-- The handle of the object, cast to uint64_t -->
|
||||||
|
<member len="null-terminated">const <type>char</type>* <name>pObjectName</name></member> <!-- Name to apply to the object -->
|
||||||
|
</type>
|
||||||
|
<type category="struct" name="VkDebugMarkerObjectTagInfoEXT">
|
||||||
|
<member><type>VkStructureType</type> <name>sType</name></member> <!-- Must be VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT -->
|
||||||
|
<member>const <type>void</type>* <name>pNext</name></member> <!-- Pointer to next structure -->
|
||||||
|
<member><type>VkDebugReportObjectTypeEXT</type> <name>objectType</name></member> <!-- The type of the object -->
|
||||||
|
<member><type>uint64_t</type> <name>object</name></member> <!-- The handle of the object, cast to uint64_t -->
|
||||||
|
<member><type>uint64_t</type> <name>tagName</name></member> <!-- The name of the tag to set on the object -->
|
||||||
|
<member><type>size_t</type> <name>tagSize</name></member> <!-- The length in bytes of the tag data -->
|
||||||
|
<member len="tagSize">const <type>void</type>* <name>pTag</name></member> <!-- Tag data to attach to the object -->
|
||||||
|
</type>
|
||||||
|
<type category="struct" name="VkDebugMarkerMarkerInfoEXT">
|
||||||
|
<member><type>VkStructureType</type> <name>sType</name></member> <!-- Must be VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT -->
|
||||||
|
<member>const <type>void</type>* <name>pNext</name></member> <!-- Pointer to next structure -->
|
||||||
|
<member len="null-terminated">const <type>char</type>* <name>pMarkerName</name></member> <!-- Name of the debug marker -->
|
||||||
|
<member optional="true"><type>float</type> <name>color</name>[4]</member> <!-- Optional color for debug marker -->
|
||||||
|
</type>
|
||||||
</types>
|
</types>
|
||||||
|
|
||||||
<!-- SECTION: Vulkan enumerant (token) definitions. -->
|
<!-- SECTION: Vulkan enumerant (token) definitions. -->
|
||||||
|
@ -4744,6 +4766,42 @@ maintained in the master branch of the Khronos Vulkan Github project.
|
||||||
<usage>pname:pMsg must: be a `NULL` terminated string.</usage>
|
<usage>pname:pMsg must: be a `NULL` terminated string.</usage>
|
||||||
</validity>
|
</validity>
|
||||||
</command>
|
</command>
|
||||||
|
<command successcodes="VK_SUCCESS" errorcodes="VK_ERROR_OUT_OF_HOST_MEMORY,VK_ERROR_OUT_OF_DEVICE_MEMORY">
|
||||||
|
<proto><type>VkResult</type> <name>vkDebugMarkerSetObjectNameEXT</name></proto>
|
||||||
|
<param><type>VkDevice</type> <name>device</name></param>
|
||||||
|
<param externsync="pNameInfo.object"><type>VkDebugMarkerObjectNameInfoEXT</type>* <name>pNameInfo</name></param>
|
||||||
|
<validity>
|
||||||
|
<usage>pname:pNameInfo.object must: be a Vulkan object</usage>
|
||||||
|
</validity>
|
||||||
|
</command>
|
||||||
|
<command successcodes="VK_SUCCESS" errorcodes="VK_ERROR_OUT_OF_HOST_MEMORY,VK_ERROR_OUT_OF_DEVICE_MEMORY">
|
||||||
|
<proto><type>VkResult</type> <name>vkDebugMarkerSetObjectTagEXT</name></proto>
|
||||||
|
<param><type>VkDevice</type> <name>device</name></param>
|
||||||
|
<param externsync="pTagInfo.object"><type>VkDebugMarkerObjectTagInfoEXT</type>* <name>pTagInfo</name></param>
|
||||||
|
<validity>
|
||||||
|
<usage>pname:pTagInfo.object must: be a Vulkan object</usage>
|
||||||
|
<usage>pname:pTagInfo.tagName mustnot: be `0`</usage>
|
||||||
|
</validity>
|
||||||
|
</command>
|
||||||
|
<command queues="graphics,compute" renderpass="both" cmdbufferlevel="primary,secondary">
|
||||||
|
<proto><type>void</type> <name>vkCmdDebugMarkerBeginEXT</name></proto>
|
||||||
|
<param><type>VkCommandBuffer</type> <name>commandBuffer</name></param>
|
||||||
|
<param><type>VkDebugMarkerMarkerInfoEXT</type>* <name>pMarkerInfo</name></param>
|
||||||
|
</command>
|
||||||
|
<command queues="graphics,compute" renderpass="both" cmdbufferlevel="primary,secondary">
|
||||||
|
<proto><type>void</type> <name>vkCmdDebugMarkerEndEXT</name></proto>
|
||||||
|
<param><type>VkCommandBuffer</type> <name>commandBuffer</name></param>
|
||||||
|
<validity>
|
||||||
|
<usage>There must: be an outstanding flink:vkCmdDebugMarkerBeginEXT command prior to the fname:vkCmdDebugMarkerEndEXT on the queue that pname:commandBuffer is submitted to.</usage>
|
||||||
|
<usage>If the matching flink:vkCmdDebugMarkerBeginEXT command was in a secondary command buffer, the fname:vkCmdDebugMarkerEndEXT must be in the same pname:commandBuffer.</usage>
|
||||||
|
|
||||||
|
</validity>
|
||||||
|
</command>
|
||||||
|
<command queues="graphics,compute" renderpass="both" cmdbufferlevel="primary,secondary">
|
||||||
|
<proto><type>void</type> <name>vkCmdDebugMarkerInsertEXT</name></proto>
|
||||||
|
<param><type>VkCommandBuffer</type> <name>commandBuffer</name></param>
|
||||||
|
<param><type>VkDebugMarkerMarkerInfoEXT</type>* <name>pMarkerInfo</name></param>
|
||||||
|
</command>
|
||||||
</commands>
|
</commands>
|
||||||
|
|
||||||
<!-- SECTION: Vulkan API interface definitions -->
|
<!-- SECTION: Vulkan API interface definitions -->
|
||||||
|
@ -5210,5 +5268,22 @@ maintained in the master branch of the Khronos Vulkan Github project.
|
||||||
<enum value=""VK_AMD_extension_6"" name="VK_AMD_EXTENSION_6_EXTENSION_NAME"/>
|
<enum value=""VK_AMD_extension_6"" name="VK_AMD_EXTENSION_6_EXTENSION_NAME"/>
|
||||||
</require>
|
</require>
|
||||||
</extension>
|
</extension>
|
||||||
|
<extension name="VK_EXT_debug_marker" number="23" author="Baldur Karlsson" contact="baldurk@baldurk.org" supported="vulkan">
|
||||||
|
<require>
|
||||||
|
<enum value="3" name="VK_EXT_DEBUG_MARKER_SPEC_VERSION"/>
|
||||||
|
<enum value=""VK_EXT_debug_marker"" name="VK_EXT_DEBUG_MARKER_EXTENSION_NAME"/>
|
||||||
|
<enum offset="0" extends="VkStructureType" name="VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT"/>
|
||||||
|
<enum offset="1" extends="VkStructureType" name="VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT"/>
|
||||||
|
<enum offset="2" extends="VkStructureType" name="VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT"/>
|
||||||
|
<type name="VkDebugMarkerObjectNameInfoEXT"/>
|
||||||
|
<type name="VkDebugMarkerObjectTagInfoEXT"/>
|
||||||
|
<type name="VkDebugMarkerMarkerInfoEXT"/>
|
||||||
|
<command name="vkDebugMarkerSetObjectTagEXT"/>
|
||||||
|
<command name="vkDebugMarkerSetObjectNameEXT"/>
|
||||||
|
<command name="vkCmdDebugMarkerBeginEXT"/>
|
||||||
|
<command name="vkCmdDebugMarkerEndEXT"/>
|
||||||
|
<command name="vkCmdDebugMarkerInsertEXT"/>
|
||||||
|
</require>
|
||||||
|
</extension>
|
||||||
</extensions>
|
</extensions>
|
||||||
</registry>
|
</registry>
|
||||||
|
|
Loading…
Reference in New Issue