Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.300
1.3.301
12 changes: 12 additions & 0 deletions src/Exomia.Vulkan.Api.Core/Enums/VkStructureType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5647,6 +5647,18 @@ public enum VkStructureType
/// </summary>
VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_DEPTH_CLAMP_CONTROL_CREATE_INFO_EXT = 1000582001,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HDR_VIVID_FEATURES_HUAWEI<br />
/// <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>
/// </summary>
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HDR_VIVID_FEATURES_HUAWEI = 1000590000,

/// <summary>
/// VK_STRUCTURE_TYPE_HDR_VIVID_DYNAMIC_METADATA_HUAWEI<br />
/// <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>
/// </summary>
VK_STRUCTURE_TYPE_HDR_VIVID_DYNAMIC_METADATA_HUAWEI = 1000590001,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_2_FEATURES_NV<br />
/// <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>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#region License

// Copyright (c) 2018-2024, exomia
// All rights reserved.
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.

#endregion

// ReSharper disable UnusedMember.Global
// ReSharper disable InconsistentNaming
// ReSharper disable once CheckNamespace
namespace Exomia.Vulkan.Api.Core;

/// <summary>
/// VkHdrVividDynamicMetadataHUAWEI - specify HDR Vivid dynamic metadata -
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkHdrVividDynamicMetadataHUAWEI.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkHdrVividDynamicMetadataHUAWEI.html
/// </a>
/// </summary>
/// <remarks>
/// <list type="table">
/// <item>
/// <term>structextends</term><description>VkHdrMetadataEXT</description>
/// </item>
/// </list>
/// </remarks>
[VkStructExtends("VkHdrMetadataEXT")]
[StructLayout(LayoutKind.Sequential)]
public unsafe struct VkHdrVividDynamicMetadataHUAWEI
{
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_HDR_VIVID_DYNAMIC_METADATA_HUAWEI;

/// <summary>sType is a VkStructureType value identifying this structure.</summary>
public VkStructureType sType;

/// <summary>pNext is NULL or a pointer to a structure extending this structure.</summary>
public void* pNext;

/// <summary>dynamicMetadataSize is the size in bytes of the dynamic metadata.</summary>
public nuint dynamicMetadataSize;

/// <summary>pDynamicMetadata is a pointer to the dynamic metadata.</summary>
public void* pDynamicMetadata;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#region License

// Copyright (c) 2018-2024, exomia
// All rights reserved.
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.

#endregion

global using static Exomia.Vulkan.Api.Core.VkHuaweiHdrVivid;

#pragma warning disable CA2211 // Non-constant fields should not be visible
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member

// ReSharper disable UnusedMember.Global
// ReSharper disable InconsistentNaming
// ReSharper disable once CheckNamespace
namespace Exomia.Vulkan.Api.Core;

/// <summary>
/// VK_HUAWEI_hdr_vivid - device extension (nr. 591) - author 'HUAWEI' [platform '' | contact 'Zehui Lin @bactlink']
/// <br />
/// <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>
/// </summary>
[VkDepends("(VK_KHR_get_physical_device_properties2,VK_VERSION_1_1)+VK_KHR_swapchain+VK_EXT_hdr_metadata")]
[VkDeviceExt]
public static class VkHuaweiHdrVivid
{
/// <summary> The spec version. </summary>
public const uint VK_HUAWEI_HDR_VIVID_SPEC_VERSION = 1;

/// <summary> The extension name. </summary>
public const string VK_HUAWEI_HDR_VIVID_EXTENSION_NAME = "VK_HUAWEI_hdr_vivid";

/// <summary>
/// An UTF8 null terminated version of <see cref="VK_HUAWEI_HDR_VIVID_EXTENSION_NAME" /> represented by an UTF16
/// string.
/// </summary>
/// <remarks>
/// Example usage:<br />
/// <br />
/// fixed(char* ptr = VK_HUAWEI_HDR_VIVID_EXTENSION_NAME_UTF8_NT) {<br />
/// sbyte* utf8NtPtr = (sbyte*)ptr; // utf8NtPtr - can now be passed and used directly as a utf8_nt string for
/// unmanaged code.<br />
/// }
/// </remarks>
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";
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#region License

// Copyright (c) 2018-2024, exomia
// All rights reserved.
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.

#endregion

// ReSharper disable UnusedMember.Global
// ReSharper disable InconsistentNaming
// ReSharper disable once CheckNamespace
namespace Exomia.Vulkan.Api.Core;

/// <summary>
/// VkPhysicalDeviceHdrVividFeaturesHUAWEI - Structure describing whether HDR Vivid metadata is supported -
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceHdrVividFeaturesHUAWEI.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceHdrVividFeaturesHUAWEI.html
/// </a>
/// </summary>
/// <remarks>
/// <list type="table">
/// <item>
/// <term>structextends</term><description>VkPhysicalDeviceFeatures2,VkDeviceCreateInfo</description>
/// </item>
/// </list>
/// </remarks>
[VkStructExtends("VkPhysicalDeviceFeatures2,VkDeviceCreateInfo")]
[StructLayout(LayoutKind.Sequential)]
public unsafe struct VkPhysicalDeviceHdrVividFeaturesHUAWEI
{
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HDR_VIVID_FEATURES_HUAWEI;

/// <summary>sType is a VkStructureType value identifying this structure.</summary>
public VkStructureType sType;

/// <summary>pNext is NULL or a pointer to a structure extending this structure.</summary>
public void* pNext;

/// <summary> hdrVivid specifies whether HDR Vivid metadata is supported.</summary>
public VkBool32 hdrVivid;
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ public enum VkAccelerationStructureCreateFlagBitsKHR
VK_ACCELERATION_STRUCTURE_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT = 0x8,

/// <summary>
/// VK_ACCELERATION_STRUCTURE_CREATE_MOTION_BIT_NV<br />
/// VK_ACCELERATION_STRUCTURE_CREATE_MOTION_BIT_NV specifies that the acceleration structure will be used with motion
/// information, see
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkAccelerationStructureCreateFlagBitsKHR">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkAccelerationStructureCreateFlagBitsKHR
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkAccelerationStructureMotionInfoNV.html">
/// VkAccelerationStructureMotionInfoNV
/// </a>
/// for more detail.
/// </summary>
VK_ACCELERATION_STRUCTURE_CREATE_MOTION_BIT_NV = 0x4
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public struct VkAccelerationStructureInstanceKHR
private uint _bitfield2;

/// <summary>
/// accelerationStructureReference is either:a device address containing the value obtained from
/// accelerationStructureReference is either :a device address containing the value obtained from
/// vkGetAccelerationStructureDeviceAddressKHRor vkGetAccelerationStructureHandleNV (used by device operations
/// which reference acceleration structures) or,a VkAccelerationStructureKHR object (used by host operations which
/// reference acceleration structures).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,25 @@ public enum VkCopyAccelerationStructureModeKHR
VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_KHR = 0,

/// <summary>
/// VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR creates a more compact version of an acceleration structure src
/// into dst. The acceleration structure dst must have been created with a size at least as large as that returned by
/// VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR creates a more compact version of an acceleration structure src
/// into dst. The acceleration structure dst must have been created with a size at least as large as that
/// returned by
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdWriteAccelerationStructuresPropertiesNV.html">
/// vkCmdWriteAccelerationStructuresPropertiesNV
/// </a>
/// ,
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdWriteAccelerationStructuresPropertiesKHR.html">
/// vkCmdWriteAccelerationStructuresPropertiesKHR
/// </a>
/// or
/// , or
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkWriteAccelerationStructuresPropertiesKHR.html">
/// vkWriteAccelerationStructuresPropertiesKHR
/// </a>
/// after the build of the acceleration structure specified by src. If src contains references to other acceleration
/// structures, dst will reference the same acceleration structures.
/// after the build of the acceleration structure specified by src. If src contains references to other
/// acceleration structures, dst will reference the same acceleration structures.
/// </summary>
VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR = 1,

Expand All @@ -68,19 +74,25 @@ public enum VkCopyAccelerationStructureModeKHR
VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_NV = VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_KHR,

/// <summary>
/// VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR creates a more compact version of an acceleration structure src
/// into dst. The acceleration structure dst must have been created with a size at least as large as that returned by
/// VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR creates a more compact version of an acceleration structure src
/// into dst. The acceleration structure dst must have been created with a size at least as large as that
/// returned by
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdWriteAccelerationStructuresPropertiesNV.html">
/// vkCmdWriteAccelerationStructuresPropertiesNV
/// </a>
/// ,
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdWriteAccelerationStructuresPropertiesKHR.html">
/// vkCmdWriteAccelerationStructuresPropertiesKHR
/// </a>
/// or
/// , or
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkWriteAccelerationStructuresPropertiesKHR.html">
/// vkWriteAccelerationStructuresPropertiesKHR
/// </a>
/// after the build of the acceleration structure specified by src. If src contains references to other acceleration
/// structures, dst will reference the same acceleration structures.
/// after the build of the acceleration structure specified by src. If src contains references to other
/// acceleration structures, dst will reference the same acceleration structures.
/// </summary>
VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_NV = VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR
}
3 changes: 2 additions & 1 deletion src/Exomia.Vulkan.Api.Core/Structs/VkWriteDescriptorSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ public unsafe struct VkWriteDescriptorSet
/// number of bytes to update. Otherwise, descriptorCount is one ofthe number of elements in pImageInfothe number of
/// elements in pBufferInfothe number of elements in pTexelBufferViewa value matching the dataSize member of a
/// VkWriteDescriptorSetInlineUniformBlock structure in the pNext chaina value matching the accelerationStructureCount
/// of a VkWriteDescriptorSetAccelerationStructureKHR structure in the pNext chain
/// of a VkWriteDescriptorSetAccelerationStructureKHRor VkWriteDescriptorSetAccelerationStructureNV structure in
/// the pNext chain
/// </summary>
public uint descriptorCount;

Expand Down
Loading