Skip to content

Commit 209f4ee

Browse files
authored
Merge pull request #130 from exomia/release/v1.3.301
Release/v1.3.301
2 parents d222dfa + 2d44310 commit 209f4ee

File tree

9 files changed

+185
-16
lines changed

9 files changed

+185
-16
lines changed

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.3.300
1+
1.3.301

src/Exomia.Vulkan.Api.Core/Enums/VkStructureType.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5647,6 +5647,18 @@ public enum VkStructureType
56475647
/// </summary>
56485648
VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_DEPTH_CLAMP_CONTROL_CREATE_INFO_EXT = 1000582001,
56495649

5650+
/// <summary>
5651+
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HDR_VIVID_FEATURES_HUAWEI<br />
5652+
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkStructureType">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkStructureType</a>
5653+
/// </summary>
5654+
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HDR_VIVID_FEATURES_HUAWEI = 1000590000,
5655+
5656+
/// <summary>
5657+
/// VK_STRUCTURE_TYPE_HDR_VIVID_DYNAMIC_METADATA_HUAWEI<br />
5658+
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkStructureType">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkStructureType</a>
5659+
/// </summary>
5660+
VK_STRUCTURE_TYPE_HDR_VIVID_DYNAMIC_METADATA_HUAWEI = 1000590001,
5661+
56505662
/// <summary>
56515663
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_2_FEATURES_NV<br />
56525664
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkStructureType">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkStructureType</a>
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
#region License
2+
3+
// Copyright (c) 2018-2024, exomia
4+
// All rights reserved.
5+
//
6+
// This source code is licensed under the BSD-style license found in the
7+
// LICENSE file in the root directory of this source tree.
8+
9+
#endregion
10+
11+
// ReSharper disable UnusedMember.Global
12+
// ReSharper disable InconsistentNaming
13+
// ReSharper disable once CheckNamespace
14+
namespace Exomia.Vulkan.Api.Core;
15+
16+
/// <summary>
17+
/// VkHdrVividDynamicMetadataHUAWEI - specify HDR Vivid dynamic metadata -
18+
/// <a
19+
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkHdrVividDynamicMetadataHUAWEI.html">
20+
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkHdrVividDynamicMetadataHUAWEI.html
21+
/// </a>
22+
/// </summary>
23+
/// <remarks>
24+
/// <list type="table">
25+
/// <item>
26+
/// <term>structextends</term><description>VkHdrMetadataEXT</description>
27+
/// </item>
28+
/// </list>
29+
/// </remarks>
30+
[VkStructExtends("VkHdrMetadataEXT")]
31+
[StructLayout(LayoutKind.Sequential)]
32+
public unsafe struct VkHdrVividDynamicMetadataHUAWEI
33+
{
34+
/// <summary> The stype of this structure. </summary>
35+
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_HDR_VIVID_DYNAMIC_METADATA_HUAWEI;
36+
37+
/// <summary>sType is a VkStructureType value identifying this structure.</summary>
38+
public VkStructureType sType;
39+
40+
/// <summary>pNext is NULL or a pointer to a structure extending this structure.</summary>
41+
public void* pNext;
42+
43+
/// <summary>dynamicMetadataSize is the size in bytes of the dynamic metadata.</summary>
44+
public nuint dynamicMetadataSize;
45+
46+
/// <summary>pDynamicMetadata is a pointer to the dynamic metadata.</summary>
47+
public void* pDynamicMetadata;
48+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
#region License
2+
3+
// Copyright (c) 2018-2024, exomia
4+
// All rights reserved.
5+
//
6+
// This source code is licensed under the BSD-style license found in the
7+
// LICENSE file in the root directory of this source tree.
8+
9+
#endregion
10+
11+
global using static Exomia.Vulkan.Api.Core.VkHuaweiHdrVivid;
12+
13+
#pragma warning disable CA2211 // Non-constant fields should not be visible
14+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
15+
16+
// ReSharper disable UnusedMember.Global
17+
// ReSharper disable InconsistentNaming
18+
// ReSharper disable once CheckNamespace
19+
namespace Exomia.Vulkan.Api.Core;
20+
21+
/// <summary>
22+
/// VK_HUAWEI_hdr_vivid - device extension (nr. 591) - author 'HUAWEI' [platform '' | contact 'Zehui Lin @bactlink']
23+
/// <br />
24+
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_HUAWEI_hdr_vivid.html">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_HUAWEI_hdr_vivid.html</a>
25+
/// </summary>
26+
[VkDepends("(VK_KHR_get_physical_device_properties2,VK_VERSION_1_1)+VK_KHR_swapchain+VK_EXT_hdr_metadata")]
27+
[VkDeviceExt]
28+
public static class VkHuaweiHdrVivid
29+
{
30+
/// <summary> The spec version. </summary>
31+
public const uint VK_HUAWEI_HDR_VIVID_SPEC_VERSION = 1;
32+
33+
/// <summary> The extension name. </summary>
34+
public const string VK_HUAWEI_HDR_VIVID_EXTENSION_NAME = "VK_HUAWEI_hdr_vivid";
35+
36+
/// <summary>
37+
/// An UTF8 null terminated version of <see cref="VK_HUAWEI_HDR_VIVID_EXTENSION_NAME" /> represented by an UTF16
38+
/// string.
39+
/// </summary>
40+
/// <remarks>
41+
/// Example usage:<br />
42+
/// <br />
43+
/// fixed(char* ptr = VK_HUAWEI_HDR_VIVID_EXTENSION_NAME_UTF8_NT) {<br />
44+
/// sbyte* utf8NtPtr = (sbyte*)ptr; // utf8NtPtr - can now be passed and used directly as a utf8_nt string for
45+
/// unmanaged code.<br />
46+
/// }
47+
/// </remarks>
48+
public const string VK_HUAWEI_HDR_VIVID_EXTENSION_NAME_UTF8_NT = "\u4b56\u485f\u4155\u4557\u5f49\u4448\u5f52\u4956\u4956\u5f44\u5845\u4554\u534e\u4f49\u5f4e\u414e\u454d\u0000";
49+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
#region License
2+
3+
// Copyright (c) 2018-2024, exomia
4+
// All rights reserved.
5+
//
6+
// This source code is licensed under the BSD-style license found in the
7+
// LICENSE file in the root directory of this source tree.
8+
9+
#endregion
10+
11+
// ReSharper disable UnusedMember.Global
12+
// ReSharper disable InconsistentNaming
13+
// ReSharper disable once CheckNamespace
14+
namespace Exomia.Vulkan.Api.Core;
15+
16+
/// <summary>
17+
/// VkPhysicalDeviceHdrVividFeaturesHUAWEI - Structure describing whether HDR Vivid metadata is supported -
18+
/// <a
19+
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceHdrVividFeaturesHUAWEI.html">
20+
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceHdrVividFeaturesHUAWEI.html
21+
/// </a>
22+
/// </summary>
23+
/// <remarks>
24+
/// <list type="table">
25+
/// <item>
26+
/// <term>structextends</term><description>VkPhysicalDeviceFeatures2,VkDeviceCreateInfo</description>
27+
/// </item>
28+
/// </list>
29+
/// </remarks>
30+
[VkStructExtends("VkPhysicalDeviceFeatures2,VkDeviceCreateInfo")]
31+
[StructLayout(LayoutKind.Sequential)]
32+
public unsafe struct VkPhysicalDeviceHdrVividFeaturesHUAWEI
33+
{
34+
/// <summary> The stype of this structure. </summary>
35+
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HDR_VIVID_FEATURES_HUAWEI;
36+
37+
/// <summary>sType is a VkStructureType value identifying this structure.</summary>
38+
public VkStructureType sType;
39+
40+
/// <summary>pNext is NULL or a pointer to a structure extending this structure.</summary>
41+
public void* pNext;
42+
43+
/// <summary> hdrVivid specifies whether HDR Vivid metadata is supported.</summary>
44+
public VkBool32 hdrVivid;
45+
}

src/Exomia.Vulkan.Api.Core/Extensions/KHR/VK_KHR_acceleration_structure/VkAccelerationStructureCreateFlagBitsKHR.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ public enum VkAccelerationStructureCreateFlagBitsKHR
4242
VK_ACCELERATION_STRUCTURE_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT = 0x8,
4343

4444
/// <summary>
45-
/// VK_ACCELERATION_STRUCTURE_CREATE_MOTION_BIT_NV<br />
45+
/// VK_ACCELERATION_STRUCTURE_CREATE_MOTION_BIT_NV specifies that the acceleration structure will be used with motion
46+
/// information, see
4647
/// <a
47-
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkAccelerationStructureCreateFlagBitsKHR">
48-
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkAccelerationStructureCreateFlagBitsKHR
48+
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkAccelerationStructureMotionInfoNV.html">
49+
/// VkAccelerationStructureMotionInfoNV
4950
/// </a>
51+
/// for more detail.
5052
/// </summary>
5153
VK_ACCELERATION_STRUCTURE_CREATE_MOTION_BIT_NV = 0x4
5254
}

src/Exomia.Vulkan.Api.Core/Extensions/KHR/VK_KHR_acceleration_structure/VkAccelerationStructureInstanceKHR.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public struct VkAccelerationStructureInstanceKHR
3434
private uint _bitfield2;
3535

3636
/// <summary>
37-
/// accelerationStructureReference is either:a device address containing the value obtained from
37+
/// accelerationStructureReference is either :a device address containing the value obtained from
3838
/// vkGetAccelerationStructureDeviceAddressKHRor vkGetAccelerationStructureHandleNV (used by device operations
3939
/// which reference acceleration structures) or,a VkAccelerationStructureKHR object (used by host operations which
4040
/// reference acceleration structures).

src/Exomia.Vulkan.Api.Core/Extensions/KHR/VK_KHR_acceleration_structure/VkCopyAccelerationStructureModeKHR.cs

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,25 @@ public enum VkCopyAccelerationStructureModeKHR
3131
VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_KHR = 0,
3232

3333
/// <summary>
34-
/// VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR creates a more compact version of an acceleration structure src
35-
/// into dst. The acceleration structure dst must have been created with a size at least as large as that returned by
34+
/// VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR creates a more compact version of an acceleration structure src
35+
/// into dst. The acceleration structure dst must have been created with a size at least as large as that
36+
/// returned by
37+
/// <a
38+
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdWriteAccelerationStructuresPropertiesNV.html">
39+
/// vkCmdWriteAccelerationStructuresPropertiesNV
40+
/// </a>
41+
/// ,
3642
/// <a
3743
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdWriteAccelerationStructuresPropertiesKHR.html">
3844
/// vkCmdWriteAccelerationStructuresPropertiesKHR
3945
/// </a>
40-
/// or
46+
/// , or
4147
/// <a
4248
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkWriteAccelerationStructuresPropertiesKHR.html">
4349
/// vkWriteAccelerationStructuresPropertiesKHR
4450
/// </a>
45-
/// after the build of the acceleration structure specified by src. If src contains references to other acceleration
46-
/// structures, dst will reference the same acceleration structures.
51+
/// after the build of the acceleration structure specified by src. If src contains references to other
52+
/// acceleration structures, dst will reference the same acceleration structures.
4753
/// </summary>
4854
VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR = 1,
4955

@@ -68,19 +74,25 @@ public enum VkCopyAccelerationStructureModeKHR
6874
VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_NV = VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_KHR,
6975

7076
/// <summary>
71-
/// VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR creates a more compact version of an acceleration structure src
72-
/// into dst. The acceleration structure dst must have been created with a size at least as large as that returned by
77+
/// VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR creates a more compact version of an acceleration structure src
78+
/// into dst. The acceleration structure dst must have been created with a size at least as large as that
79+
/// returned by
80+
/// <a
81+
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdWriteAccelerationStructuresPropertiesNV.html">
82+
/// vkCmdWriteAccelerationStructuresPropertiesNV
83+
/// </a>
84+
/// ,
7385
/// <a
7486
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdWriteAccelerationStructuresPropertiesKHR.html">
7587
/// vkCmdWriteAccelerationStructuresPropertiesKHR
7688
/// </a>
77-
/// or
89+
/// , or
7890
/// <a
7991
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkWriteAccelerationStructuresPropertiesKHR.html">
8092
/// vkWriteAccelerationStructuresPropertiesKHR
8193
/// </a>
82-
/// after the build of the acceleration structure specified by src. If src contains references to other acceleration
83-
/// structures, dst will reference the same acceleration structures.
94+
/// after the build of the acceleration structure specified by src. If src contains references to other
95+
/// acceleration structures, dst will reference the same acceleration structures.
8496
/// </summary>
8597
VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_NV = VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR
8698
}

src/Exomia.Vulkan.Api.Core/Structs/VkWriteDescriptorSet.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ public unsafe struct VkWriteDescriptorSet
4848
/// number of bytes to update. Otherwise, descriptorCount is one ofthe number of elements in pImageInfothe number of
4949
/// elements in pBufferInfothe number of elements in pTexelBufferViewa value matching the dataSize member of a
5050
/// VkWriteDescriptorSetInlineUniformBlock structure in the pNext chaina value matching the accelerationStructureCount
51-
/// of a VkWriteDescriptorSetAccelerationStructureKHR structure in the pNext chain
51+
/// of a VkWriteDescriptorSetAccelerationStructureKHRor VkWriteDescriptorSetAccelerationStructureNV structure in
52+
/// the pNext chain
5253
/// </summary>
5354
public uint descriptorCount;
5455

0 commit comments

Comments
 (0)