aboutsummaryrefslogtreecommitdiff
path: root/loader/debug_report.c
diff options
context:
space:
mode:
authorJon Ashburn <jon@lunarg.com>2016-02-26 13:14:27 -0700
committerJon Ashburn <jon@lunarg.com>2016-02-26 13:17:43 -0700
commit2e4f6dfe4624d966fb4db3c477586bd6b1c2b8e1 (patch)
treebd39728eba839aeef2362b7aba66e3e67a30935b /loader/debug_report.c
parent21aa33a913650c0f5e2579c9840f3a4fad23f1c1 (diff)
downloadusermoji-2e4f6dfe4624d966fb4db3c477586bd6b1c2b8e1.tar.xz
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_<Vulkan API name> (omitting the "vk"). Instance extension trampoline and terminator functions are in together in the same file for the extension.
Diffstat (limited to 'loader/debug_report.c')
-rw-r--r--loader/debug_report.c16
1 files changed, 8 insertions, 8 deletions
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;