From 82ea0b0103880d011ca679b14f0fc5542c5b2012 Mon Sep 17 00:00:00 2001 From: Mark Young Date: Thu, 19 Jan 2017 21:10:49 -0700 Subject: loader: Update the loader to 1.0.39 Add new extensions for 1.0.39. Also, updated layers to include minimal set of functionality for 1.0.39 extensions. Extensions include: - VK_KHR_get_physical_device_properties2 - VK_KHR_shader_draw_parameters - VK_EXT_direct_mode_display - VK_EXT_display_surface_counter - VK_EXT_display_control Also, redo the LoaderAndLayerIf document. Change-Id: I10412086da7a798afe832a3892e18f606259b5af --- loader/debug_report.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'loader/debug_report.c') diff --git a/loader/debug_report.c b/loader/debug_report.c index 15233bc2..bf9ff411 100644 --- a/loader/debug_report.c +++ b/loader/debug_report.c @@ -103,7 +103,7 @@ static VKAPI_ATTR VkResult VKAPI_CALL debug_report_CreateDebugReportCallbackEXT( VkDebugReportCallbackEXT *pCallback) { struct loader_instance *inst = loader_get_instance(instance); loader_platform_thread_lock_mutex(&loader_lock); - VkResult result = inst->disp->CreateDebugReportCallbackEXT( + VkResult result = inst->disp->layer_inst_disp.CreateDebugReportCallbackEXT( instance, pCreateInfo, pAllocator, pCallback); loader_platform_thread_unlock_mutex(&loader_lock); return result; @@ -295,7 +295,8 @@ debug_report_DestroyDebugReportCallbackEXT( struct loader_instance *inst = loader_get_instance(instance); loader_platform_thread_lock_mutex(&loader_lock); - inst->disp->DestroyDebugReportCallbackEXT(instance, callback, pAllocator); + inst->disp->layer_inst_disp.DestroyDebugReportCallbackEXT( + instance, callback, pAllocator); util_DestroyDebugReportCallback(inst, callback, pAllocator); @@ -308,8 +309,9 @@ static VKAPI_ATTR void VKAPI_CALL debug_report_DebugReportMessageEXT( int32_t msgCode, const char *pLayerPrefix, const char *pMsg) { struct loader_instance *inst = loader_get_instance(instance); - inst->disp->DebugReportMessageEXT(instance, flags, objType, object, - location, msgCode, pLayerPrefix, pMsg); + inst->disp->layer_inst_disp.DebugReportMessageEXT( + instance, flags, objType, object, location, msgCode, pLayerPrefix, + pMsg); } /* -- cgit v1.2.3