aboutsummaryrefslogtreecommitdiff
path: root/loader/loader.c
diff options
context:
space:
mode:
authorMark Young <marky@lunarg.com>2016-12-12 16:14:55 -0700
committerMark Young <marky@lunarg.com>2016-12-12 17:05:17 -0700
commitee3524a1ad54d5682f1abb8fbb46a95ca950ea38 (patch)
treec5e5b22aaa6831e75f34e916e0e9e56c320db8fe /loader/loader.c
parent51b607b94af72ace3fedd61f5f7094085b79900f (diff)
downloadusermoji-ee3524a1ad54d5682f1abb8fbb46a95ca950ea38.tar.xz
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
Diffstat (limited to 'loader/loader.c')
-rw-r--r--loader/loader.c7
1 files changed, 7 insertions, 0 deletions
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