From 176fef0bccaba8bdf51de54ab4eed8d5d9aaac77 Mon Sep 17 00:00:00 2001 From: Mike Schuchardt Date: Fri, 21 Feb 2025 10:16:47 -0800 Subject: build: Update to header 1.4.309 --- icd/generated/function_declarations.h | 18 ++++++++++++++++++ icd/generated/function_definitions.h | 5 +++++ icd/generated/vk_typemap_helper.h | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) (limited to 'icd/generated') diff --git a/icd/generated/function_declarations.h b/icd/generated/function_declarations.h index 02dfc0aa..d5d6534e 100644 --- a/icd/generated/function_declarations.h +++ b/icd/generated/function_declarations.h @@ -430,6 +430,7 @@ static const std::unordered_map device_extension_map = { {"VK_EXT_external_memory_metal", 1}, {"VK_KHR_depth_clamp_zero_one", 1}, {"VK_EXT_vertex_attribute_robustness", 1}, + {"VK_NV_present_metering", 1}, }; @@ -3756,6 +3757,7 @@ static VKAPI_ATTR void VKAPI_CALL GetPrivateDataEXT( +#ifdef VK_ENABLE_BETA_EXTENSIONS static VKAPI_ATTR VkResult VKAPI_CALL CreateCudaModuleNV( VkDevice device, @@ -3788,6 +3790,7 @@ static VKAPI_ATTR void VKAPI_CALL DestroyCudaFunctionNV( static VKAPI_ATTR void VKAPI_CALL CmdCudaLaunchKernelNV( VkCommandBuffer commandBuffer, const VkCudaLaunchInfoNV* pLaunchInfo); +#endif /* VK_ENABLE_BETA_EXTENSIONS */ #ifdef VK_USE_PLATFORM_METAL_EXT @@ -4646,6 +4649,9 @@ static VKAPI_ATTR VkResult VKAPI_CALL GetMemoryMetalHandlePropertiesEXT( #endif /* VK_USE_PLATFORM_METAL_EXT */ +#ifdef VK_ENABLE_BETA_EXTENSIONS +#endif /* VK_ENABLE_BETA_EXTENSIONS */ + static VKAPI_ATTR VkResult VKAPI_CALL CreateAccelerationStructureKHR( VkDevice device, @@ -5439,12 +5445,24 @@ static const std::unordered_map name_to_funcptr_map = { {"vkDestroyPrivateDataSlotEXT", (void*)DestroyPrivateDataSlotEXT}, {"vkSetPrivateDataEXT", (void*)SetPrivateDataEXT}, {"vkGetPrivateDataEXT", (void*)GetPrivateDataEXT}, +#ifdef VK_ENABLE_BETA_EXTENSIONS {"vkCreateCudaModuleNV", (void*)CreateCudaModuleNV}, +#endif +#ifdef VK_ENABLE_BETA_EXTENSIONS {"vkGetCudaModuleCacheNV", (void*)GetCudaModuleCacheNV}, +#endif +#ifdef VK_ENABLE_BETA_EXTENSIONS {"vkCreateCudaFunctionNV", (void*)CreateCudaFunctionNV}, +#endif +#ifdef VK_ENABLE_BETA_EXTENSIONS {"vkDestroyCudaModuleNV", (void*)DestroyCudaModuleNV}, +#endif +#ifdef VK_ENABLE_BETA_EXTENSIONS {"vkDestroyCudaFunctionNV", (void*)DestroyCudaFunctionNV}, +#endif +#ifdef VK_ENABLE_BETA_EXTENSIONS {"vkCmdCudaLaunchKernelNV", (void*)CmdCudaLaunchKernelNV}, +#endif #ifdef VK_USE_PLATFORM_METAL_EXT {"vkExportMetalObjectsEXT", (void*)ExportMetalObjectsEXT}, #endif diff --git a/icd/generated/function_definitions.h b/icd/generated/function_definitions.h index bbcdde11..846159b7 100644 --- a/icd/generated/function_definitions.h +++ b/icd/generated/function_definitions.h @@ -6981,6 +6981,7 @@ static VKAPI_ATTR void VKAPI_CALL GetPrivateDataEXT( +#ifdef VK_ENABLE_BETA_EXTENSIONS static VKAPI_ATTR VkResult VKAPI_CALL CreateCudaModuleNV( VkDevice device, @@ -7036,6 +7037,7 @@ static VKAPI_ATTR void VKAPI_CALL CmdCudaLaunchKernelNV( { //Not a CREATE or DESTROY function } +#endif /* VK_ENABLE_BETA_EXTENSIONS */ #ifdef VK_USE_PLATFORM_METAL_EXT @@ -8379,6 +8381,9 @@ static VKAPI_ATTR VkResult VKAPI_CALL GetMemoryMetalHandlePropertiesEXT( #endif /* VK_USE_PLATFORM_METAL_EXT */ +#ifdef VK_ENABLE_BETA_EXTENSIONS +#endif /* VK_ENABLE_BETA_EXTENSIONS */ + static VKAPI_ATTR VkResult VKAPI_CALL CreateAccelerationStructureKHR( VkDevice device, diff --git a/icd/generated/vk_typemap_helper.h b/icd/generated/vk_typemap_helper.h index c4360aae..a4a6dc68 100644 --- a/icd/generated/vk_typemap_helper.h +++ b/icd/generated/vk_typemap_helper.h @@ -6292,6 +6292,7 @@ template <> struct LvlSTypeMap struct LvlTypeMap { static const VkStructureType kSType = VK_STRUCTURE_TYPE_CUDA_MODULE_CREATE_INFO_NV; @@ -6301,6 +6302,8 @@ template <> struct LvlSTypeMap { typedef VkCudaModuleCreateInfoNV Type; }; +#endif // VK_ENABLE_BETA_EXTENSIONS +#ifdef VK_ENABLE_BETA_EXTENSIONS // Map type VkCudaFunctionCreateInfoNV to id VK_STRUCTURE_TYPE_CUDA_FUNCTION_CREATE_INFO_NV template <> struct LvlTypeMap { static const VkStructureType kSType = VK_STRUCTURE_TYPE_CUDA_FUNCTION_CREATE_INFO_NV; @@ -6310,6 +6313,8 @@ template <> struct LvlSTypeMap { typedef VkCudaFunctionCreateInfoNV Type; }; +#endif // VK_ENABLE_BETA_EXTENSIONS +#ifdef VK_ENABLE_BETA_EXTENSIONS // Map type VkCudaLaunchInfoNV to id VK_STRUCTURE_TYPE_CUDA_LAUNCH_INFO_NV template <> struct LvlTypeMap { static const VkStructureType kSType = VK_STRUCTURE_TYPE_CUDA_LAUNCH_INFO_NV; @@ -6319,6 +6324,8 @@ template <> struct LvlSTypeMap { typedef VkCudaLaunchInfoNV Type; }; +#endif // VK_ENABLE_BETA_EXTENSIONS +#ifdef VK_ENABLE_BETA_EXTENSIONS // Map type VkPhysicalDeviceCudaKernelLaunchFeaturesNV to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_FEATURES_NV template <> struct LvlTypeMap { static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_FEATURES_NV; @@ -6328,6 +6335,8 @@ template <> struct LvlSTypeMap struct LvlTypeMap { static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_PROPERTIES_NV; @@ -6337,6 +6346,7 @@ template <> struct LvlSTypeMap struct LvlTypeMap { static const VkStructureType kSType = VK_STRUCTURE_TYPE_QUERY_LOW_LATENCY_SUPPORT_NV; @@ -9006,6 +9016,28 @@ template <> struct LvlSTypeMap struct LvlTypeMap { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_SET_PRESENT_CONFIG_NV; +}; + +template <> struct LvlSTypeMap { + typedef VkSetPresentConfigNV Type; +}; + +#endif // VK_ENABLE_BETA_EXTENSIONS +#ifdef VK_ENABLE_BETA_EXTENSIONS +// Map type VkPhysicalDevicePresentMeteringFeaturesNV to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_METERING_FEATURES_NV +template <> struct LvlTypeMap { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_METERING_FEATURES_NV; +}; + +template <> struct LvlSTypeMap { + typedef VkPhysicalDevicePresentMeteringFeaturesNV Type; +}; + +#endif // VK_ENABLE_BETA_EXTENSIONS // 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