aboutsummaryrefslogtreecommitdiff
path: root/loader/table_ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'loader/table_ops.h')
-rw-r--r--loader/table_ops.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/loader/table_ops.h b/loader/table_ops.h
index 0e42d0ca..13c9ac7e 100644
--- a/loader/table_ops.h
+++ b/loader/table_ops.h
@@ -290,6 +290,27 @@ static inline void loader_init_device_extension_dispatch_table(
(PFN_vkCmdDebugMarkerEndEXT)gpa(dev, "vkCmdDebugMarkerEndEXT");
table->CmdDebugMarkerInsertEXT =
(PFN_vkCmdDebugMarkerInsertEXT)gpa(dev, "vkCmdDebugMarkerInsertEXT");
+
+ // NVX_device_generated_commands
+ table->CmdProcessCommandsNVX =
+ (PFN_vkCmdProcessCommandsNVX)gpa(dev, "vkCmdProcessCommandsNVX");
+ table->CmdReserveSpaceForCommandsNVX =
+ (PFN_vkCmdReserveSpaceForCommandsNVX)gpa(
+ dev, "vkCmdReserveSpaceForCommandsNVX");
+ table->CreateIndirectCommandsLayoutNVX =
+ (PFN_vkCreateIndirectCommandsLayoutNVX)gpa(
+ dev, "vkCreateIndirectCommandsLayoutNVX");
+ table->DestroyIndirectCommandsLayoutNVX =
+ (PFN_vkDestroyIndirectCommandsLayoutNVX)gpa(
+ dev, "vkDestroyIndirectCommandsLayoutNVX");
+ table->CreateObjectTableNVX =
+ (PFN_vkCreateObjectTableNVX)gpa(dev, "vkCreateObjectTableNVX");
+ table->DestroyObjectTableNVX =
+ (PFN_vkDestroyObjectTableNVX)gpa(dev, "vkDestroyObjectTableNVX");
+ table->RegisterObjectsNVX =
+ (PFN_vkRegisterObjectsNVX)gpa(dev, "vkRegisterObjectsNVX");
+ table->UnregisterObjectsNVX =
+ (PFN_vkUnregisterObjectsNVX)gpa(dev, "vkUnregisterObjectsNVX");
}
static inline void *
@@ -687,6 +708,11 @@ static inline void loader_init_instance_extension_dispatch_table(
table->CreateDisplayPlaneSurfaceKHR =
(PFN_vkCreateDisplayPlaneSurfaceKHR)gpa(
inst, "vkCreateDisplayPlaneSurfaceKHR");
+
+ // NVX_device_generated_commands (physical device commands)
+ table->GetPhysicalDeviceGeneratedCommandsPropertiesNVX =
+ (PFN_vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX)gpa(
+ inst, "vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX");
}
static inline void *
@@ -787,6 +813,10 @@ loader_lookup_instance_dispatch_table(const VkLayerInstanceDispatchTable *table,
if (!strcmp(name, "DebugReportMessageEXT"))
return (void *)table->DebugReportMessageEXT;
+ // NVX_device_generated_commands
+ if (!strcmp(name, "GetPhysicalDeviceGeneratedCommandsPropertiesNVX"))
+ return (void *)table->GetPhysicalDeviceGeneratedCommandsPropertiesNVX;
+
*found_name = false;
return NULL;
}