From: Kristian Høgsberg Date: Sat, 16 May 2015 05:04:15 +0000 (-0700) Subject: vk: Add debug stubs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f886647b75f5509095d51c9ce0ac74db595281d3;p=mesa.git vk: Add debug stubs --- diff --git a/src/vulkan/device.c b/src/vulkan/device.c index 64a2e492e29..cad85bf5ec3 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -3198,3 +3198,40 @@ void anv_CmdEndRenderPass( stub(); } + +void vkCmdDbgMarkerBegin( + VkCmdBuffer cmdBuffer, + const char* pMarker) + __attribute__ ((visibility ("default"))); + +void vkCmdDbgMarkerEnd( + VkCmdBuffer cmdBuffer) + __attribute__ ((visibility ("default"))); + +VkResult vkDbgSetObjectTag( + VkDevice device, + VkObject object, + size_t tagSize, + const void* pTag) + __attribute__ ((visibility ("default"))); + + +void vkCmdDbgMarkerBegin( + VkCmdBuffer cmdBuffer, + const char* pMarker) +{ +} + +void vkCmdDbgMarkerEnd( + VkCmdBuffer cmdBuffer) +{ +} + +VkResult vkDbgSetObjectTag( + VkDevice device, + VkObject object, + size_t tagSize, + const void* pTag) +{ + return VK_SUCCESS; +}