Skip to content

Commit 9ac248f

Browse files
Update Vulkan-Headers to v1.4.344 (#2494)
Co-authored-by: GitHub <noreply@github.com>
1 parent 66cbdb4 commit 9ac248f

12 files changed

+1143
-878
lines changed

vulkan/vulkan.cppm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export module vulkan;
2727

2828
export import std;
2929

30-
VULKAN_HPP_STATIC_ASSERT( VK_HEADER_VERSION == 343, "Wrong VK_HEADER_VERSION!" );
30+
VULKAN_HPP_STATIC_ASSERT( VK_HEADER_VERSION == 344, "Wrong VK_HEADER_VERSION!" );
3131

3232
#if defined( _MSC_VER )
3333
# pragma warning( push )

vulkan/vulkan.hpp

Lines changed: 37 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
# endif
3838
#endif
3939

40-
VULKAN_HPP_STATIC_ASSERT( VK_HEADER_VERSION == 343, "Wrong VK_HEADER_VERSION!" );
40+
VULKAN_HPP_STATIC_ASSERT( VK_HEADER_VERSION == 344, "Wrong VK_HEADER_VERSION!" );
4141

4242
VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE
4343
{
@@ -7801,9 +7801,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE
78017801

78027802
VULKAN_HPP_INLINE VkBool32 vkGetPhysicalDeviceUbmPresentationSupportSEC( VkPhysicalDevice physicalDevice,
78037803
uint32_t queueFamilyIndex,
7804-
struct ubm_device * ubm_device ) const VULKAN_HPP_NOEXCEPT
7804+
struct ubm_device * device ) const VULKAN_HPP_NOEXCEPT
78057805
{
7806-
return ::vkGetPhysicalDeviceUbmPresentationSupportSEC( physicalDevice, queueFamilyIndex, ubm_device );
7806+
return ::vkGetPhysicalDeviceUbmPresentationSupportSEC( physicalDevice, queueFamilyIndex, device );
78077807
}
78087808
# endif /*VK_USE_PLATFORM_UBM_SEC*/
78097809
# endif /*VK_ONLY_EXPORTED_PROTOTYPES*/
@@ -10870,6 +10870,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE
1087010870
VULKAN_HPP_CONSTEXPR_INLINE auto SECUbmSurfaceExtensionName = VK_SEC_UBM_SURFACE_EXTENSION_NAME;
1087110871
#endif /*VK_USE_PLATFORM_UBM_SEC*/
1087210872

10873+
//=== VK_VALVE_shader_mixed_float_dot_product ===
10874+
VULKAN_HPP_CONSTEXPR_INLINE auto VALVEShaderMixedFloatDotProductSpecVersion = VK_VALVE_SHADER_MIXED_FLOAT_DOT_PRODUCT_SPEC_VERSION;
10875+
VULKAN_HPP_CONSTEXPR_INLINE auto VALVEShaderMixedFloatDotProductExtensionName = VK_VALVE_SHADER_MIXED_FLOAT_DOT_PRODUCT_EXTENSION_NAME;
10876+
1087310877
} // namespace VULKAN_HPP_NAMESPACE
1087410878

1087510879
// clang-format off
@@ -11393,6 +11397,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE
1139311397
};
1139411398

1139511399
//=== VK_VERSION_1_2 ===
11400+
template <>
11401+
struct StructExtends<PhysicalDeviceDriverProperties, PhysicalDeviceProperties2>
11402+
{
11403+
enum
11404+
{
11405+
value = true
11406+
};
11407+
};
11408+
1139611409
template <>
1139711410
struct StructExtends<PhysicalDeviceVulkan11Features, PhysicalDeviceFeatures2>
1139811411
{
@@ -11474,15 +11487,6 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE
1147411487
};
1147511488
};
1147611489

11477-
template <>
11478-
struct StructExtends<PhysicalDeviceDriverProperties, PhysicalDeviceProperties2>
11479-
{
11480-
enum
11481-
{
11482-
value = true
11483-
};
11484-
};
11485-
1148611490
template <>
1148711491
struct StructExtends<PhysicalDeviceVulkanMemoryModelFeatures, PhysicalDeviceFeatures2>
1148811492
{
@@ -11862,7 +11866,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE
1186211866
};
1186311867

1186411868
template <>
11865-
struct StructExtends<FramebufferAttachmentsCreateInfo, FramebufferCreateInfo>
11869+
struct StructExtends<RenderPassAttachmentBeginInfo, RenderPassBeginInfo>
1186611870
{
1186711871
enum
1186811872
{
@@ -11871,7 +11875,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE
1187111875
};
1187211876

1187311877
template <>
11874-
struct StructExtends<RenderPassAttachmentBeginInfo, RenderPassBeginInfo>
11878+
struct StructExtends<FramebufferAttachmentsCreateInfo, FramebufferCreateInfo>
1187511879
{
1187611880
enum
1187711881
{
@@ -21537,6 +21541,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE
2153721541
};
2153821542
};
2153921543

21544+
//=== VK_VALVE_shader_mixed_float_dot_product ===
21545+
template <>
21546+
struct StructExtends<PhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE, PhysicalDeviceFeatures2>
21547+
{
21548+
enum
21549+
{
21550+
value = true
21551+
};
21552+
};
21553+
21554+
template <>
21555+
struct StructExtends<PhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE, DeviceCreateInfo>
21556+
{
21557+
enum
21558+
{
21559+
value = true
21560+
};
21561+
};
21562+
2154021563
#endif // VULKAN_HPP_DISABLE_ENHANCED_MODE
2154121564

2154221565
namespace detail

vulkan/vulkan_enums.hpp

Lines changed: 279 additions & 278 deletions
Large diffs are not rendered by default.

vulkan/vulkan_extension_inspection.hpp

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE
526526
"VK_SEC_pipeline_cache_incremental_mode",
527527
"VK_EXT_shader_uniform_buffer_unsized_array",
528528
"VK_NV_compute_occupancy_priority",
529-
"VK_EXT_shader_subgroup_partitioned" };
529+
"VK_EXT_shader_subgroup_partitioned",
530+
"VK_VALVE_shader_mixed_float_dot_product" };
530531
return deviceExtensions;
531532
}
532533

@@ -3087,6 +3088,22 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE
30873088
"VK_KHR_surface",
30883089
} } } } }
30893090
#endif /*VK_USE_PLATFORM_UBM_SEC*/
3091+
,
3092+
{ "VK_VALVE_shader_mixed_float_dot_product",
3093+
{ { "VK_VERSION_1_0",
3094+
{ {
3095+
"VK_KHR_get_physical_device_properties2",
3096+
"VK_KHR_shader_float16_int8",
3097+
} } },
3098+
{ "VK_VERSION_1_1",
3099+
{ {
3100+
"VK_KHR_shader_float16_int8",
3101+
},
3102+
{} } },
3103+
{ "VK_VERSION_1_2",
3104+
{ {
3105+
"VK_KHR_get_physical_device_properties2",
3106+
} } } } }
30903107
};
30913108
auto depIt = dependencies.find( extension );
30923109
return ( depIt != dependencies.end() ) ? depIt->second : noDependencies;
@@ -4326,7 +4343,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE
43264343
( extension == "VK_SEC_pipeline_cache_incremental_mode" ) ||
43274344
( extension == "VK_EXT_shader_uniform_buffer_unsized_array" ) ||
43284345
( extension == "VK_NV_compute_occupancy_priority" ) ||
4329-
( extension == "VK_EXT_shader_subgroup_partitioned" );
4346+
( extension == "VK_EXT_shader_subgroup_partitioned" ) ||
4347+
( extension == "VK_VALVE_shader_mixed_float_dot_product" );
43304348
}
43314349

43324350
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_20 bool isInstanceExtension( std::string const & extension )

vulkan/vulkan_funcs.hpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31911,12 +31911,11 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE
3191131911
// wrapper function for command vkGetPhysicalDeviceUbmPresentationSupportSEC, see
3191231912
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceUbmPresentationSupportSEC.html
3191331913
template <typename Dispatch, typename std::enable_if<IS_DISPATCHED( vkGetPhysicalDeviceUbmPresentationSupportSEC ), bool>::type>
31914-
VULKAN_HPP_INLINE Bool32 PhysicalDevice::getUbmPresentationSupportSEC( uint32_t queueFamilyIndex, struct ubm_device * ubm_device, Dispatch const & d )
31914+
VULKAN_HPP_INLINE Bool32 PhysicalDevice::getUbmPresentationSupportSEC( uint32_t queueFamilyIndex, struct ubm_device * device, Dispatch const & d )
3191531915
const VULKAN_HPP_NOEXCEPT
3191631916
{
3191731917
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
31918-
return static_cast<Bool32>(
31919-
d.vkGetPhysicalDeviceUbmPresentationSupportSEC( static_cast<VkPhysicalDevice>( m_physicalDevice ), queueFamilyIndex, ubm_device ) );
31918+
return static_cast<Bool32>( d.vkGetPhysicalDeviceUbmPresentationSupportSEC( static_cast<VkPhysicalDevice>( m_physicalDevice ), queueFamilyIndex, device ) );
3192031919
}
3192131920

3192231921
# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
@@ -31932,10 +31931,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE
3193231931
"Function <vkGetPhysicalDeviceUbmPresentationSupportSEC> requires <VK_SEC_ubm_surface>" );
3193331932
# endif
3193431933

31935-
struct ubm_device ubm_device;
31936-
VkBool32 result = d.vkGetPhysicalDeviceUbmPresentationSupportSEC( m_physicalDevice, queueFamilyIndex, &ubm_device );
31934+
struct ubm_device device;
31935+
VkBool32 result = d.vkGetPhysicalDeviceUbmPresentationSupportSEC( m_physicalDevice, queueFamilyIndex, &device );
3193731936

31938-
return { result, ubm_device };
31937+
return { result, device };
3193931938
}
3194031939
# endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
3194131940
#endif /*VK_USE_PLATFORM_UBM_SEC*/

0 commit comments

Comments
 (0)