From 2e4f6dfe4624d966fb4db3c477586bd6b1c2b8e1 Mon Sep 17 00:00:00 2001 From: Jon Ashburn Date: Fri, 26 Feb 2016 13:14:27 -0700 Subject: loader: Better delineate trampoline and terminator functions No functional changes! Trampoline functions have the Vulkan API function name and are in trampoline.c. Terminator functions have terminator_ (omitting the "vk"). Instance extension trampoline and terminator functions are in together in the same file for the extension. --- loader/debug_report.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'loader/debug_report.c') diff --git a/loader/debug_report.c b/loader/debug_report.c index b04bedbb..7da370ce 100644 --- a/loader/debug_report.c +++ b/loader/debug_report.c @@ -185,7 +185,7 @@ static VKAPI_ATTR void VKAPI_CALL debug_report_DebugReportMessage( * for CreateDebugReportCallback */ -VKAPI_ATTR VkResult VKAPI_CALL loader_CreateDebugReportCallback( +VKAPI_ATTR VkResult VKAPI_CALL terminator_CreateDebugReportCallback( VkInstance instance, const VkDebugReportCallbackCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDebugReportCallbackEXT *pCallback) { @@ -239,9 +239,9 @@ VKAPI_ATTR VkResult VKAPI_CALL loader_CreateDebugReportCallback( * for DestroyDebugReportCallback */ VKAPI_ATTR void VKAPI_CALL -loader_DestroyDebugReportCallback(VkInstance instance, - VkDebugReportCallbackEXT callback, - const VkAllocationCallbacks *pAllocator) { +terminator_DestroyDebugReportCallback(VkInstance instance, + VkDebugReportCallbackEXT callback, + const VkAllocationCallbacks *pAllocator) { uint32_t storage_idx; VkDebugReportCallbackEXT *icd_info; const struct loader_icd *icd; @@ -263,10 +263,10 @@ loader_DestroyDebugReportCallback(VkInstance instance, * for DebugReportMessage */ VKAPI_ATTR void VKAPI_CALL -loader_DebugReportMessage(VkInstance instance, VkDebugReportFlagsEXT flags, - VkDebugReportObjectTypeEXT objType, uint64_t object, - size_t location, int32_t msgCode, - const char *pLayerPrefix, const char *pMsg) { +terminator_DebugReportMessage(VkInstance instance, VkDebugReportFlagsEXT flags, + VkDebugReportObjectTypeEXT objType, + uint64_t object, size_t location, int32_t msgCode, + const char *pLayerPrefix, const char *pMsg) { const struct loader_icd *icd; struct loader_instance *inst = (struct loader_instance *)instance; -- cgit v1.2.3