diff --git a/script/generate_dispatch.py b/script/generate_dispatch.py index d695645..6c5e175 100644 --- a/script/generate_dispatch.py +++ b/script/generate_dispatch.py @@ -156,7 +156,7 @@ for extension_node in extensions_node: if '@feature' in require_node.keys(): requirements.append(require_node['@feature']) if '@extension' in require_node.keys(): - requirements.append(require_node['@extension']) + requirements.extend(require_node['@extension'].split(',')) if type(require_node['command']) is not list: require_node['command'] = [require_node['command']] for command_node in require_node['command']: diff --git a/src/VkBootstrapDispatch.h b/src/VkBootstrapDispatch.h index d0d0b6b..c07009e 100644 --- a/src/VkBootstrapDispatch.h +++ b/src/VkBootstrapDispatch.h @@ -1006,7 +1006,7 @@ struct DispatchTable { #if (defined(VK_EXT_descriptor_buffer)) fp_vkGetSamplerOpaqueCaptureDescriptorDataEXT = reinterpret_cast(procAddr(device, "vkGetSamplerOpaqueCaptureDescriptorDataEXT")); #endif -#if (defined(VK_EXT_descriptor_buffer) && defined(VK_KHR_acceleration_structure,VK_NV_ray_tracing)) +#if (defined(VK_EXT_descriptor_buffer) && defined(VK_KHR_acceleration_structure) && defined(VK_NV_ray_tracing)) fp_vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT = reinterpret_cast(procAddr(device, "vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT")); #endif #if (defined(VK_EXT_pageable_device_local_memory)) @@ -3106,7 +3106,7 @@ struct DispatchTable { return fp_vkGetSamplerOpaqueCaptureDescriptorDataEXT(device, pInfo, pData); } #endif -#if (defined(VK_EXT_descriptor_buffer) && defined(VK_KHR_acceleration_structure,VK_NV_ray_tracing)) +#if (defined(VK_EXT_descriptor_buffer) && defined(VK_KHR_acceleration_structure) && defined(VK_NV_ray_tracing)) VkResult getAccelerationStructureOpaqueCaptureDescriptorDataEXT(const VkAccelerationStructureCaptureDescriptorDataInfoEXT* pInfo, void* pData) const noexcept { return fp_vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT(device, pInfo, pData); } @@ -4603,7 +4603,7 @@ struct DispatchTable { #if (defined(VK_EXT_descriptor_buffer)) PFN_vkGetSamplerOpaqueCaptureDescriptorDataEXT fp_vkGetSamplerOpaqueCaptureDescriptorDataEXT = nullptr; #endif -#if (defined(VK_EXT_descriptor_buffer) && defined(VK_KHR_acceleration_structure,VK_NV_ray_tracing)) +#if (defined(VK_EXT_descriptor_buffer) && defined(VK_KHR_acceleration_structure) && defined(VK_NV_ray_tracing)) PFN_vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT fp_vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT = nullptr; #endif #if (defined(VK_EXT_pageable_device_local_memory))