diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2017-06-07 11:00:23 -0600 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2017-06-09 08:48:10 -0600 |
| commit | 606965338ce98e4722fbe69b5c51627a45781489 (patch) | |
| tree | 3405d4c9ed6cb1ee4f27fa65b1621f0bb2e31bfb /layers/object_tracker.cpp | |
| parent | df7dc49cffe946312494685ba8b575e5a0527755 (diff) | |
| download | usermoji-606965338ce98e4722fbe69b5c51627a45781489.tar.xz | |
layers: Remove dead/unused object_tracker functions
Change-Id: If0acd6013b205be973db334f874408d3f4e06c35
Diffstat (limited to 'layers/object_tracker.cpp')
| -rw-r--r-- | layers/object_tracker.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/layers/object_tracker.cpp b/layers/object_tracker.cpp index b524da1c..a4acc720 100644 --- a/layers/object_tracker.cpp +++ b/layers/object_tracker.cpp @@ -3276,11 +3276,6 @@ VKAPI_ATTR VkResult VKAPI_CALL EnumerateDeviceExtensionProperties(VkPhysicalDevi return pTable->EnumerateDeviceExtensionProperties(physicalDevice, NULL, pCount, pProperties); } -static inline PFN_vkVoidFunction InterceptMsgCallbackGetProcAddrCommand(const char *name, VkInstance instance) { - layer_data *instance_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); - return debug_report_get_instance_proc_addr(instance_data->report_data, name); -} - VKAPI_ATTR VkResult VKAPI_CALL CreateDisplayPlaneSurfaceKHR(VkInstance instance, const VkDisplaySurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface); @@ -5319,25 +5314,6 @@ VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL GetPhysicalDeviceProcAddr(VkInstance in } // namespace object_tracker -// vk_layer_logging.h expects these to be defined -VKAPI_ATTR VkResult VKAPI_CALL vkCreateDebugReportCallbackEXT(VkInstance instance, - const VkDebugReportCallbackCreateInfoEXT *pCreateInfo, - const VkAllocationCallbacks *pAllocator, - VkDebugReportCallbackEXT *pMsgCallback) { - return object_tracker::CreateDebugReportCallbackEXT(instance, pCreateInfo, pAllocator, pMsgCallback); -} - -VKAPI_ATTR void VKAPI_CALL vkDestroyDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackEXT msgCallback, - const VkAllocationCallbacks *pAllocator) { - object_tracker::DestroyDebugReportCallbackEXT(instance, msgCallback, pAllocator); -} - -VKAPI_ATTR void VKAPI_CALL vkDebugReportMessageEXT(VkInstance instance, VkDebugReportFlagsEXT flags, - VkDebugReportObjectTypeEXT objType, uint64_t object, size_t location, - int32_t msgCode, const char *pLayerPrefix, const char *pMsg) { - object_tracker::DebugReportMessageEXT(instance, flags, objType, object, location, msgCode, pLayerPrefix, pMsg); -} - // Loader-layer interface v0, just wrappers since there is only a layer VK_LAYER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL vkEnumerateInstanceExtensionProperties(const char *pLayerName, uint32_t *pCount, VkExtensionProperties *pProperties) { |
