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.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'loader/debug_report.h') diff --git a/loader/debug_report.h b/loader/debug_report.h index 7b665a5f..baac021e 100644 --- a/loader/debug_report.h +++ b/loader/debug_report.h @@ -116,21 +116,21 @@ void debug_report_create_instance(struct loader_instance *ptr_instance, bool debug_report_instance_gpa(struct loader_instance *ptr_instance, const char *name, void **addr); -VKAPI_ATTR VkResult VKAPI_CALL loader_CreateDebugReportCallback( +VKAPI_ATTR VkResult VKAPI_CALL terminator_CreateDebugReportCallback( VkInstance instance, const VkDebugReportCallbackCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDebugReportCallbackEXT *pCallback); VKAPI_ATTR void VKAPI_CALL -loader_DestroyDebugReportCallback(VkInstance instance, - VkDebugReportCallbackEXT callback, - const VkAllocationCallbacks *pAllocator); +terminator_DestroyDebugReportCallback(VkInstance instance, + VkDebugReportCallbackEXT callback, + const VkAllocationCallbacks *pAllocator); 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); VkResult util_CreateDebugReportCallback(struct loader_instance *inst, -- cgit v1.2.3