anv: remove dummy VK_DEBUG_MARKER_EXT entry points
authormil Velikov <emil.velikov@collabora.com>
Wed, 27 Jul 2016 15:19:41 +0000 (08:19 -0700)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 18 Aug 2016 14:05:32 +0000 (15:05 +0100)
The vkCmdDbgMarker{Begin,End} symbols are exported, yet the json does no
advertise that the driver supports the extension. Furthermore the
functions are empty stubs.

Remove those until we get a proper implementation and json notation.

Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Cc: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/intel/vulkan/anv_device.c

index 3f1334bdef6a91176b6338529f01e9d20286c60a..6aa20eb57212e3e75dcc04cce02dedcea69fb4ca 100644 (file)
@@ -1798,23 +1798,3 @@ void anv_DestroyFramebuffer(
 
    anv_free2(&device->alloc, pAllocator, fb);
 }
-
-void vkCmdDbgMarkerBegin(
-    VkCommandBuffer                              commandBuffer,
-    const char*                                 pMarker)
-   __attribute__ ((visibility ("default")));
-
-void vkCmdDbgMarkerEnd(
-   VkCommandBuffer                              commandBuffer)
-   __attribute__ ((visibility ("default")));
-
-void vkCmdDbgMarkerBegin(
-    VkCommandBuffer                              commandBuffer,
-    const char*                                 pMarker)
-{
-}
-
-void vkCmdDbgMarkerEnd(
-    VkCommandBuffer                              commandBuffer)
-{
-}