vk: Add debug stubs
authorKristian Høgsberg <kristian.h.kristensen@intel.com>
Sat, 16 May 2015 05:04:15 +0000 (22:04 -0700)
committerKristian Høgsberg <kristian.h.kristensen@intel.com>
Thu, 21 May 2015 03:34:52 +0000 (20:34 -0700)
src/vulkan/device.c

index 64a2e492e294c021da49d39509cd49f52e138f29..cad85bf5ec326f1b15bfb4b70d42dda2cba3ac4d 100644 (file)
@@ -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;
+}