diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-09-04 13:18:58 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-09-10 10:09:34 -0600 |
| commit | fae25d2777686b78b39042e621dfb0aae567d47f (patch) | |
| tree | c578e194e90c21f2bdcb0cd3ca5b7bf108fd0383 | |
| parent | d188cc31a4cd217ae9925ea7bc0b1f51920bd71e (diff) | |
| download | usermoji-fae25d2777686b78b39042e621dfb0aae567d47f.tar.xz | |
layers: Remove unused functions
| -rw-r--r-- | layers/vk_layer_msg.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/layers/vk_layer_msg.h b/layers/vk_layer_msg.h index 9eb2fc85..73ecae7a 100644 --- a/layers/vk_layer_msg.h +++ b/layers/vk_layer_msg.h @@ -96,32 +96,6 @@ static VkResult layer_destroy_msg_callback( return result; } -static inline void debug_report_init_instance_extension_dispatch_table( - VkLayerInstanceDispatchTable *table, - PFN_vkGetInstanceProcAddr gpa, - VkInstance inst) -{ - table->DbgCreateMsgCallback = (PFN_vkDbgCreateMsgCallback) gpa(inst, "vkDbgCreateMsgCallback"); - table->DbgDestroyMsgCallback = (PFN_vkDbgDestroyMsgCallback) gpa(inst, "vkDbgDestroyMsgCallback"); -} - -static PFN_vkVoidFunction msg_callback_get_proc_addr( - const char *funcName) -{ - if (!g_DEBUG_REPORT) { - return NULL; - } - - if (!strcmp(funcName, "vkDbgCreateMsgCallback")) { - return (PFN_vkVoidFunction) vkDbgCreateMsgCallback; - } - if (!strcmp(funcName, "vkDbgDestroyMsgCallback")) { - return (PFN_vkVoidFunction) vkDbgDestroyMsgCallback; - } - - return NULL; -} - // Utility function to handle reporting // If callbacks are enabled, use them, otherwise use printf static void layerCbMsg( |
