From f886647b75f5509095d51c9ce0ac74db595281d3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Fri, 15 May 2015 22:04:15 -0700 Subject: [PATCH] vk: Add debug stubs --- src/vulkan/device.c | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) 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; +} -- 2.30.2