[Mesa-stable] [PATCH 5/6] anv: remove dummy VK_DEBUG_MARKER_EXT entry points

Emil Velikov emil.l.velikov at gmail.com
Wed Jul 27 13:02:54 UTC 2016


From: Emil Velikov <emil.velikov at collabora.com>

The vkCmdDbgMarker{Begin,End} symbols are exported, yet the json does not
that the driver supports the extension. Furturmore the functions are empty stubs.

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

Cc: "12.0" <mesa-stable at lists.freedesktop.org>
Cc: Jason Ekstrand <jason at jlekstrand.net>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/intel/vulkan/anv_device.c | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index e445c96..8f1a617 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -1792,23 +1792,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)
-{
-}
-- 
2.9.0



More information about the mesa-stable mailing list