diff options
| author | Mike Schuchardt <mikes@lunarg.com> | 2025-12-19 10:09:59 -0800 |
|---|---|---|
| committer | Charles Giessen <46324611+charles-lunarg@users.noreply.github.com> | 2025-12-19 12:24:42 -0600 |
| commit | 1343cb3a9ca1a52fc6575f1471cf2b656bf1050a (patch) | |
| tree | 5d09ac43c40b9780dd1349f353fed08313f55835 | |
| parent | 61c4e7477213bb98ed7299651d6254bc5745e93d (diff) | |
| download | usermoji-1343cb3a9ca1a52fc6575f1471cf2b656bf1050a.tar.xz | |
build: Update to header 1.4.337
| -rw-r--r-- | CMakeLists.txt | 2 | ||||
| -rw-r--r-- | icd/VkICD_mock_icd.json.in | 2 | ||||
| -rw-r--r-- | icd/generated/function_declarations.h | 24 | ||||
| -rw-r--r-- | icd/generated/function_definitions.h | 16 | ||||
| -rw-r--r-- | icd/generated/vk_typemap_helper.h | 73 | ||||
| -rw-r--r-- | scripts/known_good.json | 4 | ||||
| -rw-r--r-- | vulkaninfo/generated/vulkaninfo.hpp | 114 |
7 files changed, 154 insertions, 81 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 882c7a71..17fd24a5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,7 @@ cmake_minimum_required(VERSION 3.22.1) # The VERSION field is generated with the "--generated-version" flag in the generate_source.py script -project(Vulkan-Tools VERSION 1.4.336) +project(Vulkan-Tools VERSION 1.4.337) # This variable enables downstream users to customize the target API # variant (e.g. Vulkan SC) diff --git a/icd/VkICD_mock_icd.json.in b/icd/VkICD_mock_icd.json.in index 9c610bfe..f55c9e86 100644 --- a/icd/VkICD_mock_icd.json.in +++ b/icd/VkICD_mock_icd.json.in @@ -2,6 +2,6 @@ "file_format_version": "1.0.1", "ICD": { "library_path": "@JSON_LIBRARY_PATH@", - "api_version": "1.4.336" + "api_version": "1.4.337" } }
\ No newline at end of file diff --git a/icd/generated/function_declarations.h b/icd/generated/function_declarations.h index c4bc70a4..fc74ca4c 100644 --- a/icd/generated/function_declarations.h +++ b/icd/generated/function_declarations.h @@ -371,6 +371,7 @@ static const std::unordered_map<std::string, uint32_t> device_extension_map = { {"VK_EXT_device_memory_report", VK_EXT_DEVICE_MEMORY_REPORT_SPEC_VERSION}, {"VK_EXT_robustness2", VK_EXT_ROBUSTNESS_2_SPEC_VERSION}, {"VK_EXT_custom_border_color", VK_EXT_CUSTOM_BORDER_COLOR_SPEC_VERSION}, + {"VK_EXT_texture_compression_astc_3d", VK_EXT_TEXTURE_COMPRESSION_ASTC_3D_SPEC_VERSION}, {"VK_GOOGLE_user_type", VK_GOOGLE_USER_TYPE_SPEC_VERSION}, {"VK_NV_present_barrier", VK_NV_PRESENT_BARRIER_SPEC_VERSION}, {"VK_EXT_private_data", VK_EXT_PRIVATE_DATA_SPEC_VERSION}, @@ -518,9 +519,6 @@ static const std::unordered_map<std::string, uint32_t> device_extension_map = { {"VK_MESA_image_alignment_control", VK_MESA_IMAGE_ALIGNMENT_CONTROL_SPEC_VERSION}, {"VK_EXT_ray_tracing_invocation_reorder", VK_EXT_RAY_TRACING_INVOCATION_REORDER_SPEC_VERSION}, {"VK_EXT_depth_clamp_control", VK_EXT_DEPTH_CLAMP_CONTROL_SPEC_VERSION}, -#ifdef VK_USE_PLATFORM_OHOS - {"VK_OHOS_native_buffer", VK_OHOS_NATIVE_BUFFER_SPEC_VERSION}, -#endif {"VK_HUAWEI_hdr_vivid", VK_HUAWEI_HDR_VIVID_SPEC_VERSION}, {"VK_NV_cooperative_matrix2", VK_NV_COOPERATIVE_MATRIX_2_SPEC_VERSION}, {"VK_ARM_pipeline_opacity_micromap", VK_ARM_PIPELINE_OPACITY_MICROMAP_SPEC_VERSION}, @@ -539,6 +537,7 @@ static const std::unordered_map<std::string, uint32_t> device_extension_map = { {"VK_EXT_shader_64bit_indexing", VK_EXT_SHADER_64BIT_INDEXING_SPEC_VERSION}, {"VK_EXT_custom_resolve", VK_EXT_CUSTOM_RESOLVE_SPEC_VERSION}, {"VK_QCOM_data_graph_model", VK_QCOM_DATA_GRAPH_MODEL_SPEC_VERSION}, + {"VK_EXT_shader_long_vector", VK_EXT_SHADER_LONG_VECTOR_SPEC_VERSION}, {"VK_SEC_pipeline_cache_incremental_mode", VK_SEC_PIPELINE_CACHE_INCREMENTAL_MODE_SPEC_VERSION}, {"VK_EXT_shader_uniform_buffer_unsized_array", VK_EXT_SHADER_UNIFORM_BUFFER_UNSIZED_ARRAY_SPEC_VERSION}, {"VK_NV_compute_occupancy_priority", VK_NV_COMPUTE_OCCUPANCY_PRIORITY_SPEC_VERSION}, @@ -2899,16 +2898,6 @@ static VKAPI_ATTR void VKAPI_CALL UpdateIndirectExecutionSetShaderEXT( static VKAPI_ATTR VkResult VKAPI_CALL CreateSurfaceOHOS(VkInstance instance, const VkSurfaceCreateInfoOHOS* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface); - -static VKAPI_ATTR VkResult VKAPI_CALL GetSwapchainGrallocUsageOHOS(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, - uint64_t* grallocUsage); - -static VKAPI_ATTR VkResult VKAPI_CALL AcquireImageOHOS(VkDevice device, VkImage image, int32_t nativeFenceFd, VkSemaphore semaphore, - VkFence fence); - -static VKAPI_ATTR VkResult VKAPI_CALL QueueSignalReleaseImageOHOS(VkQueue queue, uint32_t waitSemaphoreCount, - const VkSemaphore* pWaitSemaphores, VkImage image, - int32_t* pNativeFenceFd); #endif /* VK_USE_PLATFORM_OHOS */ static VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV( VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkCooperativeMatrixFlexibleDimensionsPropertiesNV* pProperties); @@ -3905,15 +3894,6 @@ static const std::unordered_map<std::string, void*> name_to_funcptr_map = { #ifdef VK_USE_PLATFORM_OHOS {"vkCreateSurfaceOHOS", (void*)CreateSurfaceOHOS}, #endif -#ifdef VK_USE_PLATFORM_OHOS - {"vkGetSwapchainGrallocUsageOHOS", (void*)GetSwapchainGrallocUsageOHOS}, -#endif -#ifdef VK_USE_PLATFORM_OHOS - {"vkAcquireImageOHOS", (void*)AcquireImageOHOS}, -#endif -#ifdef VK_USE_PLATFORM_OHOS - {"vkQueueSignalReleaseImageOHOS", (void*)QueueSignalReleaseImageOHOS}, -#endif {"vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV", (void*)GetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV}, #ifdef VK_USE_PLATFORM_METAL_EXT diff --git a/icd/generated/function_definitions.h b/icd/generated/function_definitions.h index d6cc83f8..4c5eefdc 100644 --- a/icd/generated/function_definitions.h +++ b/icd/generated/function_definitions.h @@ -4368,22 +4368,6 @@ static VKAPI_ATTR VkResult VKAPI_CALL CreateSurfaceOHOS(VkInstance instance, con *pSurface = (VkSurfaceKHR)global_unique_handle++; return VK_SUCCESS; } -static VKAPI_ATTR VkResult VKAPI_CALL GetSwapchainGrallocUsageOHOS(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, - uint64_t* grallocUsage) { - // Not a CREATE or DESTROY function - return VK_SUCCESS; -} -static VKAPI_ATTR VkResult VKAPI_CALL AcquireImageOHOS(VkDevice device, VkImage image, int32_t nativeFenceFd, VkSemaphore semaphore, - VkFence fence) { - // Not a CREATE or DESTROY function - return VK_SUCCESS; -} -static VKAPI_ATTR VkResult VKAPI_CALL QueueSignalReleaseImageOHOS(VkQueue queue, uint32_t waitSemaphoreCount, - const VkSemaphore* pWaitSemaphores, VkImage image, - int32_t* pNativeFenceFd) { - // Not a CREATE or DESTROY function - return VK_SUCCESS; -} #endif /* VK_USE_PLATFORM_OHOS */ static VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV( VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkCooperativeMatrixFlexibleDimensionsPropertiesNV* pProperties) { diff --git a/icd/generated/vk_typemap_helper.h b/icd/generated/vk_typemap_helper.h index 8f58d97c..83ed83e0 100644 --- a/icd/generated/vk_typemap_helper.h +++ b/icd/generated/vk_typemap_helper.h @@ -8176,6 +8176,18 @@ struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_FEATURE typedef VkPhysicalDeviceCustomBorderColorFeaturesEXT Type; }; +// Map type VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT to id +// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_3D_FEATURES_EXT +template <> +struct LvlTypeMap<VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT> { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_3D_FEATURES_EXT; +}; + +template <> +struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_3D_FEATURES_EXT> { + typedef VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT Type; +}; + // Map type VkPhysicalDevicePresentBarrierFeaturesNV to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_BARRIER_FEATURES_NV template <> struct LvlTypeMap<VkPhysicalDevicePresentBarrierFeaturesNV> { @@ -12365,45 +12377,6 @@ struct LvlSTypeMap<VK_STRUCTURE_TYPE_SURFACE_CREATE_INFO_OHOS> { }; #endif // VK_USE_PLATFORM_OHOS -#ifdef VK_USE_PLATFORM_OHOS -// Map type VkNativeBufferOHOS to id VK_STRUCTURE_TYPE_NATIVE_BUFFER_OHOS -template <> -struct LvlTypeMap<VkNativeBufferOHOS> { - static const VkStructureType kSType = VK_STRUCTURE_TYPE_NATIVE_BUFFER_OHOS; -}; - -template <> -struct LvlSTypeMap<VK_STRUCTURE_TYPE_NATIVE_BUFFER_OHOS> { - typedef VkNativeBufferOHOS Type; -}; - -#endif // VK_USE_PLATFORM_OHOS -#ifdef VK_USE_PLATFORM_OHOS -// Map type VkSwapchainImageCreateInfoOHOS to id VK_STRUCTURE_TYPE_SWAPCHAIN_IMAGE_CREATE_INFO_OHOS -template <> -struct LvlTypeMap<VkSwapchainImageCreateInfoOHOS> { - static const VkStructureType kSType = VK_STRUCTURE_TYPE_SWAPCHAIN_IMAGE_CREATE_INFO_OHOS; -}; - -template <> -struct LvlSTypeMap<VK_STRUCTURE_TYPE_SWAPCHAIN_IMAGE_CREATE_INFO_OHOS> { - typedef VkSwapchainImageCreateInfoOHOS Type; -}; - -#endif // VK_USE_PLATFORM_OHOS -#ifdef VK_USE_PLATFORM_OHOS -// Map type VkPhysicalDevicePresentationPropertiesOHOS to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENTATION_PROPERTIES_OHOS -template <> -struct LvlTypeMap<VkPhysicalDevicePresentationPropertiesOHOS> { - static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENTATION_PROPERTIES_OHOS; -}; - -template <> -struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENTATION_PROPERTIES_OHOS> { - typedef VkPhysicalDevicePresentationPropertiesOHOS Type; -}; - -#endif // VK_USE_PLATFORM_OHOS // Map type VkPhysicalDeviceHdrVividFeaturesHUAWEI to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HDR_VIVID_FEATURES_HUAWEI template <> struct LvlTypeMap<VkPhysicalDeviceHdrVividFeaturesHUAWEI> { @@ -12734,6 +12707,28 @@ struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DATA_GRAPH_MODEL_FEATURES_Q typedef VkPhysicalDeviceDataGraphModelFeaturesQCOM Type; }; +// Map type VkPhysicalDeviceShaderLongVectorFeaturesEXT to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_LONG_VECTOR_FEATURES_EXT +template <> +struct LvlTypeMap<VkPhysicalDeviceShaderLongVectorFeaturesEXT> { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_LONG_VECTOR_FEATURES_EXT; +}; + +template <> +struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_LONG_VECTOR_FEATURES_EXT> { + typedef VkPhysicalDeviceShaderLongVectorFeaturesEXT Type; +}; + +// Map type VkPhysicalDeviceShaderLongVectorPropertiesEXT to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_LONG_VECTOR_PROPERTIES_EXT +template <> +struct LvlTypeMap<VkPhysicalDeviceShaderLongVectorPropertiesEXT> { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_LONG_VECTOR_PROPERTIES_EXT; +}; + +template <> +struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_LONG_VECTOR_PROPERTIES_EXT> { + typedef VkPhysicalDeviceShaderLongVectorPropertiesEXT Type; +}; + // Map type VkPhysicalDevicePipelineCacheIncrementalModeFeaturesSEC to id // VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CACHE_INCREMENTAL_MODE_FEATURES_SEC template <> diff --git a/scripts/known_good.json b/scripts/known_good.json index 7b04e9ae..0ad60941 100644 --- a/scripts/known_good.json +++ b/scripts/known_good.json @@ -7,7 +7,7 @@ "sub_dir": "Vulkan-Headers", "build_dir": "Vulkan-Headers/build", "install_dir": "Vulkan-Headers/build/install", - "commit": "v1.4.336" + "commit": "v1.4.337" }, { "name": "MoltenVK", @@ -56,7 +56,7 @@ "cmake_options": [ "-DLOADER_USE_UNSAFE_FILE_SEARCH=ON" ], - "commit": "v1.4.336", + "commit": "v1.4.337", "build_platforms": [ "windows", "linux", diff --git a/vulkaninfo/generated/vulkaninfo.hpp b/vulkaninfo/generated/vulkaninfo.hpp index 9da41fdc..edb44718 100644 --- a/vulkaninfo/generated/vulkaninfo.hpp +++ b/vulkaninfo/generated/vulkaninfo.hpp @@ -1688,6 +1688,66 @@ std::string VkFormatString(VkFormat value) { return "FORMAT_PVRTC2_2BPP_SRGB_BLOCK_IMG"; case (VK_FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG): return "FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG"; + case (VK_FORMAT_ASTC_3x3x3_UNORM_BLOCK_EXT): + return "FORMAT_ASTC_3x3x3_UNORM_BLOCK_EXT"; + case (VK_FORMAT_ASTC_3x3x3_SRGB_BLOCK_EXT): + return "FORMAT_ASTC_3x3x3_SRGB_BLOCK_EXT"; + case (VK_FORMAT_ASTC_3x3x3_SFLOAT_BLOCK_EXT): + return "FORMAT_ASTC_3x3x3_SFLOAT_BLOCK_EXT"; + case (VK_FORMAT_ASTC_4x3x3_UNORM_BLOCK_EXT): + return "FORMAT_ASTC_4x3x3_UNORM_BLOCK_EXT"; + case (VK_FORMAT_ASTC_4x3x3_SRGB_BLOCK_EXT): + return "FORMAT_ASTC_4x3x3_SRGB_BLOCK_EXT"; + case (VK_FORMAT_ASTC_4x3x3_SFLOAT_BLOCK_EXT): + return "FORMAT_ASTC_4x3x3_SFLOAT_BLOCK_EXT"; + case (VK_FORMAT_ASTC_4x4x3_UNORM_BLOCK_EXT): + return "FORMAT_ASTC_4x4x3_UNORM_BLOCK_EXT"; + case (VK_FORMAT_ASTC_4x4x3_SRGB_BLOCK_EXT): + return "FORMAT_ASTC_4x4x3_SRGB_BLOCK_EXT"; + case (VK_FORMAT_ASTC_4x4x3_SFLOAT_BLOCK_EXT): + return "FORMAT_ASTC_4x4x3_SFLOAT_BLOCK_EXT"; + case (VK_FORMAT_ASTC_4x4x4_UNORM_BLOCK_EXT): + return "FORMAT_ASTC_4x4x4_UNORM_BLOCK_EXT"; + case (VK_FORMAT_ASTC_4x4x4_SRGB_BLOCK_EXT): + return "FORMAT_ASTC_4x4x4_SRGB_BLOCK_EXT"; + case (VK_FORMAT_ASTC_4x4x4_SFLOAT_BLOCK_EXT): + return "FORMAT_ASTC_4x4x4_SFLOAT_BLOCK_EXT"; + case (VK_FORMAT_ASTC_5x4x4_UNORM_BLOCK_EXT): + return "FORMAT_ASTC_5x4x4_UNORM_BLOCK_EXT"; + case (VK_FORMAT_ASTC_5x4x4_SRGB_BLOCK_EXT): + return "FORMAT_ASTC_5x4x4_SRGB_BLOCK_EXT"; + case (VK_FORMAT_ASTC_5x4x4_SFLOAT_BLOCK_EXT): + return "FORMAT_ASTC_5x4x4_SFLOAT_BLOCK_EXT"; + case (VK_FORMAT_ASTC_5x5x4_UNORM_BLOCK_EXT): + return "FORMAT_ASTC_5x5x4_UNORM_BLOCK_EXT"; + case (VK_FORMAT_ASTC_5x5x4_SRGB_BLOCK_EXT): + return "FORMAT_ASTC_5x5x4_SRGB_BLOCK_EXT"; + case (VK_FORMAT_ASTC_5x5x4_SFLOAT_BLOCK_EXT): + return "FORMAT_ASTC_5x5x4_SFLOAT_BLOCK_EXT"; + case (VK_FORMAT_ASTC_5x5x5_UNORM_BLOCK_EXT): + return "FORMAT_ASTC_5x5x5_UNORM_BLOCK_EXT"; + case (VK_FORMAT_ASTC_5x5x5_SRGB_BLOCK_EXT): + return "FORMAT_ASTC_5x5x5_SRGB_BLOCK_EXT"; + case (VK_FORMAT_ASTC_5x5x5_SFLOAT_BLOCK_EXT): + return "FORMAT_ASTC_5x5x5_SFLOAT_BLOCK_EXT"; + case (VK_FORMAT_ASTC_6x5x5_UNORM_BLOCK_EXT): + return "FORMAT_ASTC_6x5x5_UNORM_BLOCK_EXT"; + case (VK_FORMAT_ASTC_6x5x5_SRGB_BLOCK_EXT): + return "FORMAT_ASTC_6x5x5_SRGB_BLOCK_EXT"; + case (VK_FORMAT_ASTC_6x5x5_SFLOAT_BLOCK_EXT): + return "FORMAT_ASTC_6x5x5_SFLOAT_BLOCK_EXT"; + case (VK_FORMAT_ASTC_6x6x5_UNORM_BLOCK_EXT): + return "FORMAT_ASTC_6x6x5_UNORM_BLOCK_EXT"; + case (VK_FORMAT_ASTC_6x6x5_SRGB_BLOCK_EXT): + return "FORMAT_ASTC_6x6x5_SRGB_BLOCK_EXT"; + case (VK_FORMAT_ASTC_6x6x5_SFLOAT_BLOCK_EXT): + return "FORMAT_ASTC_6x6x5_SFLOAT_BLOCK_EXT"; + case (VK_FORMAT_ASTC_6x6x6_UNORM_BLOCK_EXT): + return "FORMAT_ASTC_6x6x6_UNORM_BLOCK_EXT"; + case (VK_FORMAT_ASTC_6x6x6_SRGB_BLOCK_EXT): + return "FORMAT_ASTC_6x6x6_SRGB_BLOCK_EXT"; + case (VK_FORMAT_ASTC_6x6x6_SFLOAT_BLOCK_EXT): + return "FORMAT_ASTC_6x6x6_SFLOAT_BLOCK_EXT"; case (VK_FORMAT_R8_BOOL_ARM): return "FORMAT_R8_BOOL_ARM"; case (VK_FORMAT_R16G16_SFIXED5_NV): @@ -6233,6 +6293,18 @@ void DumpVkPhysicalDeviceShaderIntegerDotProductProperties(Printer &p, std::stri p.PrintKeyBool("integerDotProductAccumulatingSaturating64BitMixedSignednessAccelerated", static_cast<bool>(obj.integerDotProductAccumulatingSaturating64BitMixedSignednessAccelerated)); } +void DumpVkPhysicalDeviceShaderLongVectorFeaturesEXT(Printer &p, std::string name, + const VkPhysicalDeviceShaderLongVectorFeaturesEXT &obj) { + ObjectWrapper object{p, name}; + p.SetMinKeyWidth(10); + p.PrintKeyBool("longVector", static_cast<bool>(obj.longVector)); +} +void DumpVkPhysicalDeviceShaderLongVectorPropertiesEXT(Printer &p, std::string name, + const VkPhysicalDeviceShaderLongVectorPropertiesEXT &obj) { + ObjectWrapper object{p, name}; + p.SetMinKeyWidth(19); + p.PrintKeyValue("maxVectorComponents", obj.maxVectorComponents); +} void DumpVkPhysicalDeviceShaderMaximalReconvergenceFeaturesKHR(Printer &p, std::string name, const VkPhysicalDeviceShaderMaximalReconvergenceFeaturesKHR &obj) { ObjectWrapper object{p, name}; @@ -6407,6 +6479,12 @@ void DumpVkPhysicalDeviceTexelBufferAlignmentProperties(Printer &p, std::string p.PrintKeyBool("uniformTexelBufferOffsetSingleTexelAlignment", static_cast<bool>(obj.uniformTexelBufferOffsetSingleTexelAlignment)); } +void DumpVkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT(Printer &p, std::string name, + const VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT &obj) { + ObjectWrapper object{p, name}; + p.SetMinKeyWidth(25); + p.PrintKeyBool("textureCompressionASTC_3D", static_cast<bool>(obj.textureCompressionASTC_3D)); +} void DumpVkPhysicalDeviceTextureCompressionASTCHDRFeatures(Printer &p, std::string name, const VkPhysicalDeviceTextureCompressionASTCHDRFeatures &obj) { ObjectWrapper object{p, name}; @@ -7329,6 +7407,7 @@ struct phys_device_props2_chain { VkPhysicalDeviceSampleLocationsPropertiesEXT PhysicalDeviceSampleLocationsPropertiesEXT{}; VkPhysicalDeviceSamplerFilterMinmaxProperties PhysicalDeviceSamplerFilterMinmaxProperties{}; VkPhysicalDeviceShaderIntegerDotProductProperties PhysicalDeviceShaderIntegerDotProductProperties{}; + VkPhysicalDeviceShaderLongVectorPropertiesEXT PhysicalDeviceShaderLongVectorPropertiesEXT{}; VkPhysicalDeviceShaderModuleIdentifierPropertiesEXT PhysicalDeviceShaderModuleIdentifierPropertiesEXT{}; VkPhysicalDeviceShaderObjectPropertiesEXT PhysicalDeviceShaderObjectPropertiesEXT{}; VkPhysicalDeviceShaderTileImagePropertiesEXT PhysicalDeviceShaderTileImagePropertiesEXT{}; @@ -7424,6 +7503,7 @@ struct phys_device_props2_chain { PhysicalDeviceSamplerFilterMinmaxProperties.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES; PhysicalDeviceShaderIntegerDotProductProperties.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_PROPERTIES; + PhysicalDeviceShaderLongVectorPropertiesEXT.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_LONG_VECTOR_PROPERTIES_EXT; PhysicalDeviceShaderModuleIdentifierPropertiesEXT.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MODULE_IDENTIFIER_PROPERTIES_EXT; PhysicalDeviceShaderObjectPropertiesEXT.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_OBJECT_PROPERTIES_EXT; @@ -7588,6 +7668,8 @@ struct phys_device_props2_chain { if ((gpu.CheckPhysicalDeviceExtensionIncluded(VK_KHR_SHADER_INTEGER_DOT_PRODUCT_EXTENSION_NAME)) && (gpu.api_version < VK_API_VERSION_1_3 || show_promoted_structs)) chain_members.push_back(reinterpret_cast<VkBaseOutStructure *>(&PhysicalDeviceShaderIntegerDotProductProperties)); + if (gpu.CheckPhysicalDeviceExtensionIncluded(VK_EXT_SHADER_LONG_VECTOR_EXTENSION_NAME)) + chain_members.push_back(reinterpret_cast<VkBaseOutStructure *>(&PhysicalDeviceShaderLongVectorPropertiesEXT)); if (gpu.CheckPhysicalDeviceExtensionIncluded(VK_EXT_SHADER_MODULE_IDENTIFIER_EXTENSION_NAME)) chain_members.push_back(reinterpret_cast<VkBaseOutStructure *>(&PhysicalDeviceShaderModuleIdentifierPropertiesEXT)); if (gpu.CheckPhysicalDeviceExtensionIncluded(VK_EXT_SHADER_OBJECT_EXTENSION_NAME)) @@ -8205,6 +8287,13 @@ void chain_iterator_phys_device_props2(Printer &p, AppInstance &inst, AppGpu &gp } p.AddNewline(); } + if (structure->sType == VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_LONG_VECTOR_PROPERTIES_EXT) { + const VkPhysicalDeviceShaderLongVectorPropertiesEXT *props = + (const VkPhysicalDeviceShaderLongVectorPropertiesEXT *)structure; + const char *name = "VkPhysicalDeviceShaderLongVectorPropertiesEXT"; + DumpVkPhysicalDeviceShaderLongVectorPropertiesEXT(p, name, *props); + p.AddNewline(); + } if (structure->sType == VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MODULE_IDENTIFIER_PROPERTIES_EXT) { const VkPhysicalDeviceShaderModuleIdentifierPropertiesEXT *props = (const VkPhysicalDeviceShaderModuleIdentifierPropertiesEXT *)structure; @@ -8516,6 +8605,7 @@ struct phys_device_features2_chain { VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT PhysicalDeviceShaderImageAtomicInt64FeaturesEXT{}; VkPhysicalDeviceShaderIntegerDotProductFeatures PhysicalDeviceShaderIntegerDotProductFeatures{}; char VkPhysicalDeviceShaderIntegerDotProductFeatures_padding[64]; + VkPhysicalDeviceShaderLongVectorFeaturesEXT PhysicalDeviceShaderLongVectorFeaturesEXT{}; VkPhysicalDeviceShaderMaximalReconvergenceFeaturesKHR PhysicalDeviceShaderMaximalReconvergenceFeaturesKHR{}; VkPhysicalDeviceShaderModuleIdentifierFeaturesEXT PhysicalDeviceShaderModuleIdentifierFeaturesEXT{}; VkPhysicalDeviceShaderObjectFeaturesEXT PhysicalDeviceShaderObjectFeaturesEXT{}; @@ -8534,6 +8624,7 @@ struct phys_device_features2_chain { VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR PhysicalDeviceSwapchainMaintenance1FeaturesKHR{}; VkPhysicalDeviceSynchronization2Features PhysicalDeviceSynchronization2Features{}; VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT PhysicalDeviceTexelBufferAlignmentFeaturesEXT{}; + VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT PhysicalDeviceTextureCompressionASTC3DFeaturesEXT{}; VkPhysicalDeviceTextureCompressionASTCHDRFeatures PhysicalDeviceTextureCompressionASTCHDRFeatures{}; VkPhysicalDeviceTimelineSemaphoreFeatures PhysicalDeviceTimelineSemaphoreFeatures{}; VkPhysicalDeviceTransformFeedbackFeaturesEXT PhysicalDeviceTransformFeedbackFeaturesEXT{}; @@ -8718,6 +8809,7 @@ struct phys_device_features2_chain { PhysicalDeviceShaderImageAtomicInt64FeaturesEXT.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_ATOMIC_INT64_FEATURES_EXT; PhysicalDeviceShaderIntegerDotProductFeatures.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES; + PhysicalDeviceShaderLongVectorFeaturesEXT.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_LONG_VECTOR_FEATURES_EXT; PhysicalDeviceShaderMaximalReconvergenceFeaturesKHR.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MAXIMAL_RECONVERGENCE_FEATURES_KHR; PhysicalDeviceShaderModuleIdentifierFeaturesEXT.sType = @@ -8746,6 +8838,8 @@ struct phys_device_features2_chain { VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SWAPCHAIN_MAINTENANCE_1_FEATURES_KHR; PhysicalDeviceSynchronization2Features.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES; PhysicalDeviceTexelBufferAlignmentFeaturesEXT.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXT; + PhysicalDeviceTextureCompressionASTC3DFeaturesEXT.sType = + VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_3D_FEATURES_EXT; PhysicalDeviceTextureCompressionASTCHDRFeatures.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES; PhysicalDeviceTimelineSemaphoreFeatures.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES; @@ -9078,6 +9172,8 @@ struct phys_device_features2_chain { if ((gpu.CheckPhysicalDeviceExtensionIncluded(VK_KHR_SHADER_INTEGER_DOT_PRODUCT_EXTENSION_NAME)) && (gpu.api_version < VK_API_VERSION_1_3 || show_promoted_structs)) chain_members.push_back(reinterpret_cast<VkBaseOutStructure *>(&PhysicalDeviceShaderIntegerDotProductFeatures)); + if (gpu.CheckPhysicalDeviceExtensionIncluded(VK_EXT_SHADER_LONG_VECTOR_EXTENSION_NAME)) + chain_members.push_back(reinterpret_cast<VkBaseOutStructure *>(&PhysicalDeviceShaderLongVectorFeaturesEXT)); if (gpu.CheckPhysicalDeviceExtensionIncluded(VK_KHR_SHADER_MAXIMAL_RECONVERGENCE_EXTENSION_NAME)) chain_members.push_back(reinterpret_cast<VkBaseOutStructure *>(&PhysicalDeviceShaderMaximalReconvergenceFeaturesKHR)); if (gpu.CheckPhysicalDeviceExtensionIncluded(VK_EXT_SHADER_MODULE_IDENTIFIER_EXTENSION_NAME)) @@ -9123,6 +9219,8 @@ struct phys_device_features2_chain { chain_members.push_back(reinterpret_cast<VkBaseOutStructure *>(&PhysicalDeviceSynchronization2Features)); if (gpu.CheckPhysicalDeviceExtensionIncluded(VK_EXT_TEXEL_BUFFER_ALIGNMENT_EXTENSION_NAME)) chain_members.push_back(reinterpret_cast<VkBaseOutStructure *>(&PhysicalDeviceTexelBufferAlignmentFeaturesEXT)); + if (gpu.CheckPhysicalDeviceExtensionIncluded(VK_EXT_TEXTURE_COMPRESSION_ASTC_3D_EXTENSION_NAME)) + chain_members.push_back(reinterpret_cast<VkBaseOutStructure *>(&PhysicalDeviceTextureCompressionASTC3DFeaturesEXT)); if ((gpu.CheckPhysicalDeviceExtensionIncluded(VK_EXT_TEXTURE_COMPRESSION_ASTC_HDR_EXTENSION_NAME)) && (gpu.api_version < VK_API_VERSION_1_3 || show_promoted_structs)) chain_members.push_back(reinterpret_cast<VkBaseOutStructure *>(&PhysicalDeviceTextureCompressionASTCHDRFeatures)); @@ -10358,6 +10456,13 @@ void chain_iterator_phys_device_features2(Printer &p, AppGpu &gpu, bool show_pro } p.AddNewline(); } + if (structure->sType == VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_LONG_VECTOR_FEATURES_EXT) { + const VkPhysicalDeviceShaderLongVectorFeaturesEXT *props = + (const VkPhysicalDeviceShaderLongVectorFeaturesEXT *)structure; + const char *name = "VkPhysicalDeviceShaderLongVectorFeaturesEXT"; + DumpVkPhysicalDeviceShaderLongVectorFeaturesEXT(p, name, *props); + p.AddNewline(); + } if (structure->sType == VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MAXIMAL_RECONVERGENCE_FEATURES_KHR) { const VkPhysicalDeviceShaderMaximalReconvergenceFeaturesKHR *props = (const VkPhysicalDeviceShaderMaximalReconvergenceFeaturesKHR *)structure; @@ -10526,6 +10631,13 @@ void chain_iterator_phys_device_features2(Printer &p, AppGpu &gpu, bool show_pro DumpVkPhysicalDeviceTexelBufferAlignmentFeaturesEXT(p, name, *props); p.AddNewline(); } + if (structure->sType == VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_3D_FEATURES_EXT) { + const VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT *props = + (const VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT *)structure; + const char *name = "VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT"; + DumpVkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT(p, name, *props); + p.AddNewline(); + } if (structure->sType == VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES) { const VkPhysicalDeviceTextureCompressionASTCHDRFeatures *props = (const VkPhysicalDeviceTextureCompressionASTCHDRFeatures *)structure; @@ -11460,6 +11572,8 @@ auto format_ranges = std::array{ FormatRange{VK_API_VERSION_1_4, nullptr, static_cast<VkFormat>(1000470000), static_cast<VkFormat>(1000470001)}, FormatRange{0, VK_KHR_MAINTENANCE_5_EXTENSION_NAME, static_cast<VkFormat>(1000470000), static_cast<VkFormat>(1000470001)}, FormatRange{0, VK_IMG_FORMAT_PVRTC_EXTENSION_NAME, static_cast<VkFormat>(1000054000), static_cast<VkFormat>(1000054007)}, + FormatRange{0, VK_EXT_TEXTURE_COMPRESSION_ASTC_3D_EXTENSION_NAME, static_cast<VkFormat>(1000288000), + static_cast<VkFormat>(1000288029)}, FormatRange{0, VK_ARM_TENSORS_EXTENSION_NAME, static_cast<VkFormat>(1000460000), static_cast<VkFormat>(1000460000)}, FormatRange{0, VK_NV_OPTICAL_FLOW_EXTENSION_NAME, static_cast<VkFormat>(1000464000), static_cast<VkFormat>(1000464000)}, FormatRange{0, VK_ARM_FORMAT_PACK_EXTENSION_NAME, static_cast<VkFormat>(1000609000), static_cast<VkFormat>(1000609013)}, |
