From 06ae73a3dc3a03466817d8370355203dac7b79b1 Mon Sep 17 00:00:00 2001 From: Charles Giessen Date: Mon, 7 Jul 2025 10:35:10 -0500 Subject: build: Update to header 1.4.321 Includes necessary changes for VK_KHR_surface_maintenance1 --- icd/generated/function_declarations.h | 19 ++- icd/generated/function_definitions.h | 15 ++- icd/generated/vk_typemap_helper.h | 234 +++++++++++++++++++++------------- 3 files changed, 175 insertions(+), 93 deletions(-) (limited to 'icd/generated') diff --git a/icd/generated/function_declarations.h b/icd/generated/function_declarations.h index ecaa5422..85406a95 100644 --- a/icd/generated/function_declarations.h +++ b/icd/generated/function_declarations.h @@ -70,6 +70,7 @@ static const std::unordered_map instance_extension_map = {"VK_KHR_portability_enumeration", 1}, {"VK_GOOGLE_surfaceless_query", 2}, {"VK_LUNARG_direct_driver_loading", 1}, + {"VK_KHR_surface_maintenance1", 1}, {"VK_EXT_layer_settings", 2}, {"VK_NV_display_stereo", 1}, {"VK_OHOS_surface", 1}, @@ -270,7 +271,7 @@ static const std::unordered_map device_extension_map = { {"VK_NV_inherited_viewport_scissor", 1}, {"VK_KHR_shader_integer_dot_product", 1}, {"VK_EXT_texel_buffer_alignment", 1}, - {"VK_QCOM_render_pass_transform", 4}, + {"VK_QCOM_render_pass_transform", 5}, {"VK_EXT_depth_bias_control", 1}, {"VK_EXT_device_memory_report", 2}, {"VK_EXT_robustness2", 1}, @@ -382,6 +383,7 @@ static const std::unordered_map device_extension_map = { {"VK_KHR_pipeline_binary", 1}, {"VK_QCOM_tile_properties", 1}, {"VK_SEC_amigo_profiling", 1}, + {"VK_KHR_swapchain_maintenance1", 1}, {"VK_QCOM_multiview_per_view_viewports", 1}, {"VK_NV_ray_tracing_invocation_reorder", 1}, {"VK_NV_cooperative_vector", 4}, @@ -419,6 +421,7 @@ static const std::unordered_map device_extension_map = { {"VK_KHR_maintenance6", 1}, {"VK_NV_descriptor_pool_overallocation", 1}, {"VK_QCOM_tile_memory_heap", 1}, + {"VK_KHR_video_encode_intra_refresh", 1}, {"VK_KHR_video_encode_quantization_map", 2}, {"VK_NV_raw_access_chains", 1}, {"VK_NV_external_compute_queue", 1}, @@ -449,6 +452,8 @@ static const std::unordered_map device_extension_map = { {"VK_NV_present_metering", 1}, {"VK_EXT_fragment_density_map_offset", 1}, {"VK_EXT_zero_initialize_device_memory", 1}, + {"VK_KHR_present_mode_fifo_latest_ready", 1}, + {"VK_SEC_pipeline_cache_incremental_mode", 1}, }; @@ -2667,6 +2672,12 @@ static VKAPI_ATTR VkResult VKAPI_CALL ReleaseCapturedPipelineDataKHR( const VkAllocationCallbacks* pAllocator); + +static VKAPI_ATTR VkResult VKAPI_CALL ReleaseSwapchainImagesKHR( + VkDevice device, + const VkReleaseSwapchainImagesInfoKHR* pReleaseInfo); + + static VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceCooperativeMatrixPropertiesKHR( VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, @@ -2736,6 +2747,8 @@ static VKAPI_ATTR void VKAPI_CALL CmdBindDescriptorBufferEmbeddedSamplers2EXT( + + static VKAPI_ATTR VkResult VKAPI_CALL CreateDebugReportCallbackEXT( VkInstance instance, const VkDebugReportCallbackCreateInfoEXT* pCreateInfo, @@ -3698,7 +3711,7 @@ static VKAPI_ATTR void VKAPI_CALL GetImageSubresourceLayout2EXT( static VKAPI_ATTR VkResult VKAPI_CALL ReleaseSwapchainImagesEXT( VkDevice device, - const VkReleaseSwapchainImagesInfoEXT* pReleaseInfo); + const VkReleaseSwapchainImagesInfoKHR* pReleaseInfo); @@ -4858,6 +4871,7 @@ static VKAPI_ATTR void VKAPI_CALL CmdEndRendering2EXT( + static VKAPI_ATTR VkResult VKAPI_CALL CreateAccelerationStructureKHR( VkDevice device, const VkAccelerationStructureCreateInfoKHR* pCreateInfo, @@ -5439,6 +5453,7 @@ static const std::unordered_map name_to_funcptr_map = { {"vkGetPipelineKeyKHR", (void*)GetPipelineKeyKHR}, {"vkGetPipelineBinaryDataKHR", (void*)GetPipelineBinaryDataKHR}, {"vkReleaseCapturedPipelineDataKHR", (void*)ReleaseCapturedPipelineDataKHR}, + {"vkReleaseSwapchainImagesKHR", (void*)ReleaseSwapchainImagesKHR}, {"vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR", (void*)GetPhysicalDeviceCooperativeMatrixPropertiesKHR}, {"vkCmdSetLineStippleKHR", (void*)CmdSetLineStippleKHR}, {"vkGetPhysicalDeviceCalibrateableTimeDomainsKHR", (void*)GetPhysicalDeviceCalibrateableTimeDomainsKHR}, diff --git a/icd/generated/function_definitions.h b/icd/generated/function_definitions.h index 518e15c2..61aa5443 100644 --- a/icd/generated/function_definitions.h +++ b/icd/generated/function_definitions.h @@ -5245,6 +5245,16 @@ static VKAPI_ATTR VkResult VKAPI_CALL ReleaseCapturedPipelineDataKHR( } + +static VKAPI_ATTR VkResult VKAPI_CALL ReleaseSwapchainImagesKHR( + VkDevice device, + const VkReleaseSwapchainImagesInfoKHR* pReleaseInfo) +{ +//Not a CREATE or DESTROY function + return VK_SUCCESS; +} + + static VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceCooperativeMatrixPropertiesKHR( VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, @@ -5368,6 +5378,8 @@ static VKAPI_ATTR void VKAPI_CALL CmdBindDescriptorBufferEmbeddedSamplers2EXT( + + static VKAPI_ATTR VkResult VKAPI_CALL CreateDebugReportCallbackEXT( VkInstance instance, const VkDebugReportCallbackCreateInfoEXT* pCreateInfo, @@ -6875,7 +6887,7 @@ static VKAPI_ATTR void VKAPI_CALL GetImageSubresourceLayout2EXT( static VKAPI_ATTR VkResult VKAPI_CALL ReleaseSwapchainImagesEXT( VkDevice device, - const VkReleaseSwapchainImagesInfoEXT* pReleaseInfo) + const VkReleaseSwapchainImagesInfoKHR* pReleaseInfo) { //Not a CREATE or DESTROY function return VK_SUCCESS; @@ -8708,6 +8720,7 @@ static VKAPI_ATTR void VKAPI_CALL CmdEndRendering2EXT( + static VKAPI_ATTR VkResult VKAPI_CALL CreateAccelerationStructureKHR( VkDevice device, const VkAccelerationStructureCreateInfoKHR* pCreateInfo, diff --git a/icd/generated/vk_typemap_helper.h b/icd/generated/vk_typemap_helper.h index 64770007..d404d9a0 100644 --- a/icd/generated/vk_typemap_helper.h +++ b/icd/generated/vk_typemap_helper.h @@ -3965,6 +3965,87 @@ template <> struct LvlSTypeMap struct LvlTypeMap { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_SURFACE_PRESENT_MODE_KHR; +}; + +template <> struct LvlSTypeMap { + typedef VkSurfacePresentModeKHR Type; +}; + +// Map type VkSurfacePresentScalingCapabilitiesKHR to id VK_STRUCTURE_TYPE_SURFACE_PRESENT_SCALING_CAPABILITIES_KHR +template <> struct LvlTypeMap { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_SURFACE_PRESENT_SCALING_CAPABILITIES_KHR; +}; + +template <> struct LvlSTypeMap { + typedef VkSurfacePresentScalingCapabilitiesKHR Type; +}; + +// Map type VkSurfacePresentModeCompatibilityKHR to id VK_STRUCTURE_TYPE_SURFACE_PRESENT_MODE_COMPATIBILITY_KHR +template <> struct LvlTypeMap { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_SURFACE_PRESENT_MODE_COMPATIBILITY_KHR; +}; + +template <> struct LvlSTypeMap { + typedef VkSurfacePresentModeCompatibilityKHR Type; +}; + +// Map type VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SWAPCHAIN_MAINTENANCE_1_FEATURES_KHR +template <> struct LvlTypeMap { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SWAPCHAIN_MAINTENANCE_1_FEATURES_KHR; +}; + +template <> struct LvlSTypeMap { + typedef VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR Type; +}; + +// Map type VkSwapchainPresentFenceInfoKHR to id VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_FENCE_INFO_KHR +template <> struct LvlTypeMap { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_FENCE_INFO_KHR; +}; + +template <> struct LvlSTypeMap { + typedef VkSwapchainPresentFenceInfoKHR Type; +}; + +// Map type VkSwapchainPresentModesCreateInfoKHR to id VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODES_CREATE_INFO_KHR +template <> struct LvlTypeMap { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODES_CREATE_INFO_KHR; +}; + +template <> struct LvlSTypeMap { + typedef VkSwapchainPresentModesCreateInfoKHR Type; +}; + +// Map type VkSwapchainPresentModeInfoKHR to id VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODE_INFO_KHR +template <> struct LvlTypeMap { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODE_INFO_KHR; +}; + +template <> struct LvlSTypeMap { + typedef VkSwapchainPresentModeInfoKHR Type; +}; + +// Map type VkSwapchainPresentScalingCreateInfoKHR to id VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_SCALING_CREATE_INFO_KHR +template <> struct LvlTypeMap { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_SCALING_CREATE_INFO_KHR; +}; + +template <> struct LvlSTypeMap { + typedef VkSwapchainPresentScalingCreateInfoKHR Type; +}; + +// Map type VkReleaseSwapchainImagesInfoKHR to id VK_STRUCTURE_TYPE_RELEASE_SWAPCHAIN_IMAGES_INFO_KHR +template <> struct LvlTypeMap { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_RELEASE_SWAPCHAIN_IMAGES_INFO_KHR; +}; + +template <> struct LvlSTypeMap { + typedef VkReleaseSwapchainImagesInfoKHR Type; +}; + // Map type VkCooperativeMatrixPropertiesKHR to id VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_KHR template <> struct LvlTypeMap { static const VkStructureType kSType = VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_KHR; @@ -4253,6 +4334,51 @@ template <> struct LvlSTypeMap struct LvlTypeMap { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_VIDEO_ENCODE_INTRA_REFRESH_CAPABILITIES_KHR; +}; + +template <> struct LvlSTypeMap { + typedef VkVideoEncodeIntraRefreshCapabilitiesKHR Type; +}; + +// Map type VkVideoEncodeSessionIntraRefreshCreateInfoKHR to id VK_STRUCTURE_TYPE_VIDEO_ENCODE_SESSION_INTRA_REFRESH_CREATE_INFO_KHR +template <> struct LvlTypeMap { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_VIDEO_ENCODE_SESSION_INTRA_REFRESH_CREATE_INFO_KHR; +}; + +template <> struct LvlSTypeMap { + typedef VkVideoEncodeSessionIntraRefreshCreateInfoKHR Type; +}; + +// Map type VkVideoEncodeIntraRefreshInfoKHR to id VK_STRUCTURE_TYPE_VIDEO_ENCODE_INTRA_REFRESH_INFO_KHR +template <> struct LvlTypeMap { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_VIDEO_ENCODE_INTRA_REFRESH_INFO_KHR; +}; + +template <> struct LvlSTypeMap { + typedef VkVideoEncodeIntraRefreshInfoKHR Type; +}; + +// Map type VkVideoReferenceIntraRefreshInfoKHR to id VK_STRUCTURE_TYPE_VIDEO_REFERENCE_INTRA_REFRESH_INFO_KHR +template <> struct LvlTypeMap { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_VIDEO_REFERENCE_INTRA_REFRESH_INFO_KHR; +}; + +template <> struct LvlSTypeMap { + typedef VkVideoReferenceIntraRefreshInfoKHR Type; +}; + +// Map type VkPhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_INTRA_REFRESH_FEATURES_KHR +template <> struct LvlTypeMap { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_INTRA_REFRESH_FEATURES_KHR; +}; + +template <> struct LvlSTypeMap { + typedef VkPhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR Type; +}; + // Map type VkVideoEncodeQuantizationMapCapabilitiesKHR to id VK_STRUCTURE_TYPE_VIDEO_ENCODE_QUANTIZATION_MAP_CAPABILITIES_KHR template <> struct LvlTypeMap { static const VkStructureType kSType = VK_STRUCTURE_TYPE_VIDEO_ENCODE_QUANTIZATION_MAP_CAPABILITIES_KHR; @@ -4505,6 +4631,15 @@ template <> struct LvlSTypeMap struct LvlTypeMap { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_MODE_FIFO_LATEST_READY_FEATURES_KHR; +}; + +template <> struct LvlSTypeMap { + typedef VkPhysicalDevicePresentModeFifoLatestReadyFeaturesKHR Type; +}; + // Map type VkDebugReportCallbackCreateInfoEXT to id VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT template <> struct LvlTypeMap { static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT; @@ -6112,87 +6247,6 @@ template <> struct LvlSTypeMap struct LvlTypeMap { - static const VkStructureType kSType = VK_STRUCTURE_TYPE_SURFACE_PRESENT_MODE_EXT; -}; - -template <> struct LvlSTypeMap { - typedef VkSurfacePresentModeEXT Type; -}; - -// Map type VkSurfacePresentScalingCapabilitiesEXT to id VK_STRUCTURE_TYPE_SURFACE_PRESENT_SCALING_CAPABILITIES_EXT -template <> struct LvlTypeMap { - static const VkStructureType kSType = VK_STRUCTURE_TYPE_SURFACE_PRESENT_SCALING_CAPABILITIES_EXT; -}; - -template <> struct LvlSTypeMap { - typedef VkSurfacePresentScalingCapabilitiesEXT Type; -}; - -// Map type VkSurfacePresentModeCompatibilityEXT to id VK_STRUCTURE_TYPE_SURFACE_PRESENT_MODE_COMPATIBILITY_EXT -template <> struct LvlTypeMap { - static const VkStructureType kSType = VK_STRUCTURE_TYPE_SURFACE_PRESENT_MODE_COMPATIBILITY_EXT; -}; - -template <> struct LvlSTypeMap { - typedef VkSurfacePresentModeCompatibilityEXT Type; -}; - -// Map type VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SWAPCHAIN_MAINTENANCE_1_FEATURES_EXT -template <> struct LvlTypeMap { - static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SWAPCHAIN_MAINTENANCE_1_FEATURES_EXT; -}; - -template <> struct LvlSTypeMap { - typedef VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT Type; -}; - -// Map type VkSwapchainPresentFenceInfoEXT to id VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_FENCE_INFO_EXT -template <> struct LvlTypeMap { - static const VkStructureType kSType = VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_FENCE_INFO_EXT; -}; - -template <> struct LvlSTypeMap { - typedef VkSwapchainPresentFenceInfoEXT Type; -}; - -// Map type VkSwapchainPresentModesCreateInfoEXT to id VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODES_CREATE_INFO_EXT -template <> struct LvlTypeMap { - static const VkStructureType kSType = VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODES_CREATE_INFO_EXT; -}; - -template <> struct LvlSTypeMap { - typedef VkSwapchainPresentModesCreateInfoEXT Type; -}; - -// Map type VkSwapchainPresentModeInfoEXT to id VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODE_INFO_EXT -template <> struct LvlTypeMap { - static const VkStructureType kSType = VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODE_INFO_EXT; -}; - -template <> struct LvlSTypeMap { - typedef VkSwapchainPresentModeInfoEXT Type; -}; - -// Map type VkSwapchainPresentScalingCreateInfoEXT to id VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_SCALING_CREATE_INFO_EXT -template <> struct LvlTypeMap { - static const VkStructureType kSType = VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_SCALING_CREATE_INFO_EXT; -}; - -template <> struct LvlSTypeMap { - typedef VkSwapchainPresentScalingCreateInfoEXT Type; -}; - -// Map type VkReleaseSwapchainImagesInfoEXT to id VK_STRUCTURE_TYPE_RELEASE_SWAPCHAIN_IMAGES_INFO_EXT -template <> struct LvlTypeMap { - static const VkStructureType kSType = VK_STRUCTURE_TYPE_RELEASE_SWAPCHAIN_IMAGES_INFO_EXT; -}; - -template <> struct LvlSTypeMap { - typedef VkReleaseSwapchainImagesInfoEXT Type; -}; - // Map type VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_PROPERTIES_NV template <> struct LvlTypeMap { static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_PROPERTIES_NV; @@ -7129,15 +7183,6 @@ template <> struct LvlSTypeMap struct LvlTypeMap { - static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_MODE_FIFO_LATEST_READY_FEATURES_EXT; -}; - -template <> struct LvlSTypeMap { - typedef VkPhysicalDevicePresentModeFifoLatestReadyFeaturesEXT Type; -}; - #ifdef VK_USE_PLATFORM_FUCHSIA // Map type VkImportMemoryZirconHandleInfoFUCHSIA to id VK_STRUCTURE_TYPE_IMPORT_MEMORY_ZIRCON_HANDLE_INFO_FUCHSIA template <> struct LvlTypeMap { @@ -9787,6 +9832,15 @@ template <> struct LvlSTypeMap struct LvlTypeMap { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CACHE_INCREMENTAL_MODE_FEATURES_SEC; +}; + +template <> struct LvlSTypeMap { + typedef VkPhysicalDevicePipelineCacheIncrementalModeFeaturesSEC Type; +}; + // Map type VkAccelerationStructureGeometryTrianglesDataKHR to id VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_TRIANGLES_DATA_KHR template <> struct LvlTypeMap { static const VkStructureType kSType = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_TRIANGLES_DATA_KHR; -- cgit v1.2.3