From 041c5bbffdb67b97e69f98b59b8e6e01661a89b1 Mon Sep 17 00:00:00 2001 From: Jon Leech Date: Fri, 6 May 2016 17:05:15 -0700 Subject: [PATCH] Add VK_EXT_debug_marker extension to vk.xml. --- src/spec/vk.xml | 75 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/src/spec/vk.xml b/src/spec/vk.xml index b43bcfca..2f6424b1 100644 --- a/src/spec/vk.xml +++ b/src/spec/vk.xml @@ -2135,6 +2135,28 @@ maintained in the master branch of the Khronos Vulkan Github project. const void* pNext VkRasterizationOrderAMD rasterizationOrder + + VkStructureType sType + const void* pNext + VkDebugReportObjectTypeEXT objectType + uint64_t object + const char* pObjectName + + + VkStructureType sType + const void* pNext + VkDebugReportObjectTypeEXT objectType + uint64_t object + uint64_t tagName + size_t tagSize + const void* pTag + + + VkStructureType sType + const void* pNext + const char* pMarkerName + float color[4] + @@ -4744,6 +4766,42 @@ maintained in the master branch of the Khronos Vulkan Github project. pname:pMsg must: be a `NULL` terminated string. + + VkResult vkDebugMarkerSetObjectNameEXT + VkDevice device + VkDebugMarkerObjectNameInfoEXT* pNameInfo + + pname:pNameInfo.object must: be a Vulkan object + + + + VkResult vkDebugMarkerSetObjectTagEXT + VkDevice device + VkDebugMarkerObjectTagInfoEXT* pTagInfo + + pname:pTagInfo.object must: be a Vulkan object + pname:pTagInfo.tagName mustnot: be `0` + + + + void vkCmdDebugMarkerBeginEXT + VkCommandBuffer commandBuffer + VkDebugMarkerMarkerInfoEXT* pMarkerInfo + + + void vkCmdDebugMarkerEndEXT + VkCommandBuffer commandBuffer + + There must: be an outstanding flink:vkCmdDebugMarkerBeginEXT command prior to the fname:vkCmdDebugMarkerEndEXT on the queue that pname:commandBuffer is submitted to. + If the matching flink:vkCmdDebugMarkerBeginEXT command was in a secondary command buffer, the fname:vkCmdDebugMarkerEndEXT must be in the same pname:commandBuffer. + + + + + void vkCmdDebugMarkerInsertEXT + VkCommandBuffer commandBuffer + VkDebugMarkerMarkerInfoEXT* pMarkerInfo + @@ -5210,5 +5268,22 @@ maintained in the master branch of the Khronos Vulkan Github project. + + + + + + + + + + + + + + + + +