Skip to content

Commit

Permalink
v1.3.270
Browse files Browse the repository at this point in the history
  • Loading branch information
exomia-bot committed Nov 11, 2023
1 parent 91c70b5 commit 43a8f8d
Show file tree
Hide file tree
Showing 11 changed files with 134 additions and 87 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.269
1.3.270
8 changes: 4 additions & 4 deletions src/Exomia.Vulkan.Api.Core/Enums/VkDynamicState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,22 +68,22 @@ public enum VkDynamicState
VK_DYNAMIC_STATE_LINE_WIDTH = 2,

/// <summary>
/// VK_DYNAMIC_STATE_DEPTH_BIAS specifies that any instance of
/// VK_DYNAMIC_STATE_DEPTH_BIAS specifies that any instance of
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDepthBiasRepresentationInfoEXT.html">
/// VkDepthBiasRepresentationInfoEXT
/// </a>
/// included in the pNext chain of
/// included in the pNext chain of
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPipelineRasterizationStateCreateInfo.html">
/// VkPipelineRasterizationStateCreateInfo
/// </a>
/// as well as the depthBiasConstantFactor, depthBiasClamp and depthBiasSlopeFactor states in
/// as well as the depthBiasConstantFactor, depthBiasClamp and depthBiasSlopeFactor states in
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPipelineRasterizationStateCreateInfo.html">
/// VkPipelineRasterizationStateCreateInfo
/// </a>
/// will be ignored and mustbe set dynamically with either
/// will be ignored and must be set dynamically with either
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdSetDepthBias.html">vkCmdSetDepthBias</a>
/// or
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdSetDepthBias2EXT.html">vkCmdSetDepthBias2EXT</a>
Expand Down
6 changes: 6 additions & 0 deletions src/Exomia.Vulkan.Api.Core/Enums/VkStructureType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2155,6 +2155,12 @@ public enum VkStructureType
/// </summary>
VK_STRUCTURE_TYPE_HDR_METADATA_EXT = 1000105000,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RELAXED_LINE_RASTERIZATION_FEATURES_IMG<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_RELAXED_LINE_RASTERIZATION_FEATURES_IMG = 1000110000,

/// <summary>
/// VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR<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
Expand Up @@ -35,30 +35,12 @@ public unsafe struct VkDescriptorBufferBindingPushDescriptorBufferHandleEXT
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_DESCRIPTOR_BUFFER_BINDING_PUSH_DESCRIPTOR_BUFFER_HANDLE_EXT;

/// <summary>
/// sType<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkDescriptorBufferBindingPushDescriptorBufferHandleEXT">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkDescriptorBufferBindingPushDescriptorBufferHandleEXT
/// </a>
/// </summary>
/// <summary>sType is a VkStructureType value identifying this structure.</summary>
public VkStructureType sType;

/// <summary>
/// pNext<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkDescriptorBufferBindingPushDescriptorBufferHandleEXT">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkDescriptorBufferBindingPushDescriptorBufferHandleEXT
/// </a>
/// </summary>
/// <summary>pNext is NULL or a pointer to a structure extending this structure.</summary>
public void* pNext;

/// <summary>
/// buffer<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkDescriptorBufferBindingPushDescriptorBufferHandleEXT">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkDescriptorBufferBindingPushDescriptorBufferHandleEXT
/// </a>
/// </summary>
/// <summary>buffer is the VkBuffer handle of the buffer for push descriptors.</summary>
public VkBuffer buffer;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#region License

// Copyright (c) 2018-2023, 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.VkImgRelaxedLineRasterization;

#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_IMG_relaxed_line_rasterization - device extension (nr. 111) - author 'IMG' [platform '' | contact 'James
/// Fitzpatrick @jamesfitzpatrick']<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_IMG_relaxed_line_rasterization.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_IMG_relaxed_line_rasterization.html
/// </a>
/// </summary>
/// <remarks>
/// specialuse: glemulation
/// </remarks>
[VkDepends("(VK_KHR_get_physical_device_properties2,VK_VERSION_1_1)")]
[VkSpecialuse("glemulation")]
[VkDeviceExt]
public static class VkImgRelaxedLineRasterization
{
/// <summary> The spec version. </summary>
public const uint VK_IMG_RELAXED_LINE_RASTERIZATION_SPEC_VERSION = 1;

/// <summary> The extension name. </summary>
public const string VK_IMG_RELAXED_LINE_RASTERIZATION_EXTENSION_NAME = "VK_IMG_relaxed_line_rasterization";

/// <summary>
/// An UTF8 null terminated version of <see cref="VK_IMG_RELAXED_LINE_RASTERIZATION_EXTENSION_NAME" />
/// represented by an UTF16 string.
/// </summary>
/// <remarks>
/// Example usage:<br />
/// <br />
/// fixed(char* ptr = VK_IMG_RELAXED_LINE_RASTERIZATION_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_IMG_RELAXED_LINE_RASTERIZATION_EXTENSION_NAME_UTF8_NT =
"\u4b56\u495f\u474d\u525f\u4c45\u5841\u4445\u4c5f\u4e49\u5f45\u4152\u5453\u5245\u5a49\u5441\u4f49\u5f4e\u5845\u4554\u534e\u4f49\u5f4e\u414e\u454d\u0000";
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#region License

// Copyright (c) 2018-2023, 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>
/// VkPhysicalDeviceRelaxedLineRasterizationFeaturesIMG - Structure describing relaxed line rasterization features that
/// can be supported by an implementation -
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceRelaxedLineRasterizationFeaturesIMG.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceRelaxedLineRasterizationFeaturesIMG.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 VkPhysicalDeviceRelaxedLineRasterizationFeaturesIMG
{
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RELAXED_LINE_RASTERIZATION_FEATURES_IMG;

/// <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> relaxedLineRasterizationindicates that the implementation supports relaxed line rasterization control.</summary>
public VkBool32 relaxedLineRasterization;
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ public unsafe struct VkPhysicalDeviceCudaKernelLaunchPropertiesNV
/// <summary> computeCapabilityMinor indicates the minor version number of the compute code.</summary>
public uint computeCapabilityMinor;

/// <summary> computeCapabilityMajor indicates the minor version number of the compute code.</summary>
/// <summary> computeCapabilityMajor indicates the major version number of the compute code.</summary>
public uint computeCapabilityMajor;
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,48 +27,24 @@ public unsafe struct VkComputePipelineIndirectBufferInfoNV
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_INDIRECT_BUFFER_INFO_NV;

/// <summary>
/// sType<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkComputePipelineIndirectBufferInfoNV">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkComputePipelineIndirectBufferInfoNV
/// </a>
/// </summary>
/// <summary>sType is a VkStructureType value identifying this structure.</summary>
public VkStructureType sType;

/// <summary>
/// pNext<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkComputePipelineIndirectBufferInfoNV">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkComputePipelineIndirectBufferInfoNV
/// </a>
/// </summary>
/// <summary>pNext is NULL or a pointer to a structure extending this structure.</summary>
public void* pNext;

/// <summary>
/// deviceAddress<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkComputePipelineIndirectBufferInfoNV">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkComputePipelineIndirectBufferInfoNV
/// </a>
/// </summary>
/// <summary>deviceAddress is the address where the pipeline&#8217;s metadata will be stored.</summary>
public VkDeviceAddress deviceAddress;

/// <summary>
/// size<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkComputePipelineIndirectBufferInfoNV">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkComputePipelineIndirectBufferInfoNV
/// </a>
/// size is the size of pipeline&#8217;s metadata that was queried using
/// vkGetPipelineIndirectMemoryRequirementsNV.
/// </summary>
public VkDeviceSize size;

/// <summary>
/// pipelineDeviceAddressCaptureReplay<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkComputePipelineIndirectBufferInfoNV">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkComputePipelineIndirectBufferInfoNV
/// </a>
/// pipelineDeviceAddressCaptureReplay is the device address where pipeline&#8217;s metadata was originally saved
/// and can now be used to re-populate deviceAddress for replay.
/// </summary>
public VkDeviceAddress pipelineDeviceAddressCaptureReplay;
}
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ public static readonly delegate*<
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetPipelineIndirectDeviceAddressNV.html
/// </a>
/// </summary>
/// <param name="device"> VUID-vkGetPipelineIndirectDeviceAddressNV-device-parameter device must be a valid VkDevice handle</param>
/// <param name="device">device is the logical device on which the pipeline was created.</param>
/// <param name="pInfo">
/// VUID-vkGetPipelineIndirectDeviceAddressNV-pInfo-parameter pInfo must be a valid pointer to a valid
/// VkPipelineIndirectDeviceAddressInfoNV structure
/// pInfo is a pointer to a VkPipelineIndirectDeviceAddressInfoNV structure specifying the pipeline to
/// retrieve the address for.
/// </param>
public static readonly delegate*<
VkDevice /*device*/,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,39 +26,18 @@ public unsafe struct VkPipelineIndirectDeviceAddressInfoNV
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_PIPELINE_INDIRECT_DEVICE_ADDRESS_INFO_NV;

/// <summary>
/// sType<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkPipelineIndirectDeviceAddressInfoNV">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkPipelineIndirectDeviceAddressInfoNV
/// </a>
/// </summary>
/// <summary>sType is a VkStructureType value identifying this structure.</summary>
public VkStructureType sType;

/// <summary>
/// pNext<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkPipelineIndirectDeviceAddressInfoNV">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkPipelineIndirectDeviceAddressInfoNV
/// </a>
/// </summary>
/// <summary>pNext is NULL or a pointer to a structure extending this structure.</summary>
public void* pNext;

/// <summary>
/// pipelineBindPoint<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkPipelineIndirectDeviceAddressInfoNV">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkPipelineIndirectDeviceAddressInfoNV
/// </a>
/// pipelineBindPoint is a VkPipelineBindPoint value specifying the type of pipeline whose device address is being
/// queried.
/// </summary>
public VkPipelineBindPoint pipelineBindPoint;

/// <summary>
/// pipeline<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkPipelineIndirectDeviceAddressInfoNV">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkPipelineIndirectDeviceAddressInfoNV
/// </a>
/// </summary>
/// <summary>pipeline specifies the pipeline whose device address is being queried.</summary>
public VkPipeline pipeline;
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ namespace Exomia.Vulkan.Api.Core;
/// <br />
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_NV_low_latency2.html">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_NV_low_latency2.html</a>
/// </summary>
[VkDepends("VK_VERSION_1_2,VK_KHR_timeline_semaphore")]
[VkDeviceExt]
public static unsafe class VkNvLowLatency2
{
Expand Down

0 comments on commit 43a8f8d

Please sign in to comment.