vulkan: remove vkDebugReportMessage() loading

Since it's not used.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9119>
This commit is contained in:
Víctor Manuel Jáquez Leal 2025-05-28 20:39:12 +02:00 committed by GStreamer Marge Bot
parent 8eae5e95b7
commit b463d2b1da

View File

@ -95,7 +95,6 @@ struct _GstVulkanInstancePrivate
VkDebugReportCallbackEXT msg_callback;
PFN_vkCreateDebugReportCallbackEXT dbgCreateDebugReportCallback;
PFN_vkDestroyDebugReportCallbackEXT dbgDestroyDebugReportCallback;
PFN_vkDebugReportMessageEXT dbgReportMessage;
#endif
};
@ -1005,14 +1004,6 @@ gst_vulkan_instance_configure_debugging (GstVulkanInstance * instance,
"Failed to retrieve vkDestroyDebugReportCallback");
return FALSE;
}
priv->dbgReportMessage = (PFN_vkDebugReportMessageEXT)
gst_vulkan_instance_get_proc_address (instance,
"vkDebugReportMessageEXT");
if (!priv->dbgReportMessage) {
g_set_error (error, GST_VULKAN_ERROR, VK_ERROR_INITIALIZATION_FAILED,
"Failed to retrieve vkDebugReportMessage");
return FALSE;
}
/* matches the conditions in _gst_vk_debug_callback() */
if (vulkan_debug_level >= GST_LEVEL_ERROR)