@@ -1346,6 +1346,9 @@ VKAPI_ATTR void VKAPI_CALL loader_init_device_extension_dispatch_table(struct lo
13461346 // ---- VK_EXT_fragment_density_map_offset extension commands
13471347 table->CmdEndRendering2EXT = (PFN_vkCmdEndRendering2EXT)gdpa(dev, "vkCmdEndRendering2EXT");
13481348
1349+ // ---- VK_EXT_custom_resolve extension commands
1350+ table->CmdBeginCustomResolveEXT = (PFN_vkCmdBeginCustomResolveEXT)gdpa(dev, "vkCmdBeginCustomResolveEXT");
1351+
13491352 // ---- VK_KHR_acceleration_structure extension commands
13501353 table->CreateAccelerationStructureKHR = (PFN_vkCreateAccelerationStructureKHR)gdpa(dev, "vkCreateAccelerationStructureKHR");
13511354 table->DestroyAccelerationStructureKHR = (PFN_vkDestroyAccelerationStructureKHR)gdpa(dev, "vkDestroyAccelerationStructureKHR");
@@ -3341,6 +3344,9 @@ VKAPI_ATTR void* VKAPI_CALL loader_lookup_device_dispatch_table(const VkLayerDis
33413344 // ---- VK_EXT_fragment_density_map_offset extension commands
33423345 if (!strcmp(name, "CmdEndRendering2EXT")) return (void *)table->CmdEndRendering2EXT;
33433346
3347+ // ---- VK_EXT_custom_resolve extension commands
3348+ if (!strcmp(name, "CmdBeginCustomResolveEXT")) return (void *)table->CmdBeginCustomResolveEXT;
3349+
33443350 // ---- VK_KHR_acceleration_structure extension commands
33453351 if (!strcmp(name, "CreateAccelerationStructureKHR")) return (void *)table->CreateAccelerationStructureKHR;
33463352 if (!strcmp(name, "DestroyAccelerationStructureKHR")) return (void *)table->DestroyAccelerationStructureKHR;
@@ -11060,6 +11066,22 @@ VKAPI_ATTR void VKAPI_CALL CmdEndRendering2EXT(
1106011066}
1106111067
1106211068
11069+ // ---- VK_EXT_custom_resolve extension trampoline/terminators
11070+
11071+ VKAPI_ATTR void VKAPI_CALL CmdBeginCustomResolveEXT(
11072+ VkCommandBuffer commandBuffer,
11073+ const VkBeginCustomResolveInfoEXT* pBeginCustomResolveInfo) {
11074+ const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
11075+ if (NULL == disp) {
11076+ loader_log(NULL, VULKAN_LOADER_FATAL_ERROR_BIT | VULKAN_LOADER_ERROR_BIT | VULKAN_LOADER_VALIDATION_BIT, 0,
11077+ "vkCmdBeginCustomResolveEXT: Invalid commandBuffer "
11078+ "[VUID-vkCmdBeginCustomResolveEXT-commandBuffer-parameter]");
11079+ abort(); /* Intentionally fail so user can correct issue. */
11080+ }
11081+ disp->CmdBeginCustomResolveEXT(commandBuffer, pBeginCustomResolveInfo);
11082+ }
11083+
11084+
1106311085// ---- VK_KHR_acceleration_structure extension trampoline/terminators
1106411086
1106511087VKAPI_ATTR VkResult VKAPI_CALL CreateAccelerationStructureKHR(
@@ -13733,6 +13755,12 @@ bool extension_instance_gpa(struct loader_instance *ptr_instance, const char *na
1373313755 return true;
1373413756 }
1373513757
13758+ // ---- VK_EXT_custom_resolve extension commands
13759+ if (!strcmp("vkCmdBeginCustomResolveEXT", name)) {
13760+ *addr = (void *)CmdBeginCustomResolveEXT;
13761+ return true;
13762+ }
13763+
1373613764 // ---- VK_KHR_acceleration_structure extension commands
1373713765 if (!strcmp("vkCreateAccelerationStructureKHR", name)) {
1373813766 *addr = (void *)CreateAccelerationStructureKHR;
0 commit comments