From ee3524a1ad54d5682f1abb8fbb46a95ca950ea38 Mon Sep 17 00:00:00 2001 From: Mark Young Date: Mon, 12 Dec 2016 16:14:55 -0700 Subject: loader: Add support for 1.0.35 extension Add support for the NVX_device_generated_commands. This was necessary since it exposes one instance command (which takes a VkPhysicalDevice). Change-Id: I1da4c24ca0d385a6485581f55a1b19aa7ea51d24 --- loader/loader.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'loader/loader.c') diff --git a/loader/loader.c b/loader/loader.c index 3ddbfe31..85b5f48c 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -158,6 +158,10 @@ const VkLayerInstanceDispatchTable instance_disp = { .CreateDisplayModeKHR = terminator_CreateDisplayModeKHR, .GetDisplayPlaneCapabilitiesKHR = terminator_GetDisplayPlaneCapabilitiesKHR, .CreateDisplayPlaneSurfaceKHR = terminator_CreateDisplayPlaneSurfaceKHR, + + // NVX_device_generated_commands + .GetPhysicalDeviceGeneratedCommandsPropertiesNVX = + terminator_GetPhysicalDeviceGeneratedCommandsPropertiesNVX, }; LOADER_PLATFORM_THREAD_ONCE_DECLARATION(once_init); @@ -1680,7 +1684,10 @@ static bool loader_icd_init_entrys(struct loader_icd_term *icd_term, LOOKUP_GIPA(CreateWaylandSurfaceKHR, false); LOOKUP_GIPA(GetPhysicalDeviceWaylandPresentationSupportKHR, false); #endif + // NV_external_memory_capabilities LOOKUP_GIPA(GetPhysicalDeviceExternalImageFormatPropertiesNV, false); + // NVX_device_generated_commands + LOOKUP_GIPA(GetPhysicalDeviceGeneratedCommandsPropertiesNVX, false); #undef LOOKUP_GIPA -- cgit v1.2.3