Skip to content

Commit

Permalink
v1.3.295
Browse files Browse the repository at this point in the history
  • Loading branch information
exomia-bot committed Aug 30, 2024
1 parent 5880c8e commit 55e56a5
Show file tree
Hide file tree
Showing 14 changed files with 152 additions and 70 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.294
1.3.295
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
global using VkPhysicalDeviceComputeShaderDerivativesFeaturesNV = Exomia.Vulkan.Api.Core.VkPhysicalDeviceComputeShaderDerivativesFeaturesKHR;
24 changes: 18 additions & 6 deletions src/Exomia.Vulkan.Api.Core/Enums/VkStructureType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2881,12 +2881,6 @@ public enum VkStructureType
/// </summary>
VK_STRUCTURE_TYPE_PRESENT_FRAME_TOKEN_GGP = 1000191000,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_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>
/// </summary>
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_NV = 1000201000,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_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 Expand Up @@ -5191,6 +5185,18 @@ public enum VkStructureType
/// </summary>
VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_RENDER_AREAS_RENDER_PASS_BEGIN_INFO_QCOM = 1000510001,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_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>
/// </summary>
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_KHR = 1000201000,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_PROPERTIES_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>
/// </summary>
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_PROPERTIES_KHR = 1000511000,

/// <summary>
/// VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_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 Expand Up @@ -6187,6 +6193,12 @@ public enum VkStructureType
/// </summary>
VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE_KHR = VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_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>
/// </summary>
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_NV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_KHR,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_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,53 @@
#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.VkKhrComputeShaderDerivatives;

#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_KHR_compute_shader_derivatives - device extension (nr. 512) - author 'KHR' [platform '' | contact 'Jean-Noe
/// Morissette @MagicPoncho']<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_KHR_compute_shader_derivatives.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_KHR_compute_shader_derivatives.html
/// </a>
/// </summary>
[VkDepends("VK_KHR_get_physical_device_properties2")]
[VkDeviceExt]
public static class VkKhrComputeShaderDerivatives
{
/// <summary> The spec version. </summary>
public const uint VK_KHR_COMPUTE_SHADER_DERIVATIVES_SPEC_VERSION = 1;

/// <summary> The extension name. </summary>
public const string VK_KHR_COMPUTE_SHADER_DERIVATIVES_EXTENSION_NAME = "VK_KHR_compute_shader_derivatives";

/// <summary>
/// An UTF8 null terminated version of <see cref="VK_KHR_COMPUTE_SHADER_DERIVATIVES_EXTENSION_NAME" />
/// represented by an UTF16 string.
/// </summary>
/// <remarks>
/// Example usage:<br />
/// <br />
/// fixed(char* ptr = VK_KHR_COMPUTE_SHADER_DERIVATIVES_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_KHR_COMPUTE_SHADER_DERIVATIVES_EXTENSION_NAME_UTF8_NT =
"\u4b56\u4b5f\u5248\u435f\u4d4f\u5550\u4554\u535f\u4148\u4544\u5f52\u4544\u4952\u4156\u4954\u4556\u5f53\u5845\u4554\u534e\u4f49\u5f4e\u414e\u454d\u0000";
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
namespace Exomia.Vulkan.Api.Core;

/// <summary>
/// VkPhysicalDeviceComputeShaderDerivativesFeaturesNV - Structure describing compute shader derivative features that
/// VkPhysicalDeviceComputeShaderDerivativesFeaturesKHR - Structure describing compute shader derivative features that
/// can be supported by an implementation -
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceComputeShaderDerivativesFeaturesNV.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceComputeShaderDerivativesFeaturesNV.html
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceComputeShaderDerivativesFeaturesKHR.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceComputeShaderDerivativesFeaturesKHR.html
/// </a>
/// </summary>
/// <remarks>
Expand All @@ -30,10 +30,10 @@ namespace Exomia.Vulkan.Api.Core;
/// </remarks>
[VkStructExtends("VkPhysicalDeviceFeatures2,VkDeviceCreateInfo")]
[StructLayout(LayoutKind.Sequential)]
public unsafe struct VkPhysicalDeviceComputeShaderDerivativesFeaturesNV
public unsafe struct VkPhysicalDeviceComputeShaderDerivativesFeaturesKHR
{
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_NV;
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_KHR;

/// <summary>sType is a VkStructureType value identifying this structure.</summary>
public VkStructureType sType;
Expand All @@ -42,13 +42,13 @@ public unsafe struct VkPhysicalDeviceComputeShaderDerivativesFeaturesNV
public void* pNext;

/// <summary>
/// computeDerivativeGroupQuads indicates that the implementation supports the ComputeDerivativeGroupQuadsNV
/// computeDerivativeGroupQuads indicates that the implementation supports the ComputeDerivativeGroupQuadsKHR
/// SPIR-V capability.
/// </summary>
public VkBool32 computeDerivativeGroupQuads;

/// <summary>
/// computeDerivativeGroupLinear indicates that the implementation supports the ComputeDerivativeGroupLinearNV
/// computeDerivativeGroupLinear indicates that the implementation supports the ComputeDerivativeGroupLinearKHR
/// SPIR-V capability.
/// </summary>
public VkBool32 computeDerivativeGroupLinear;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
#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>
/// VkPhysicalDeviceComputeShaderDerivativesPropertiesKHR - Structure describing compute shader derivative operations
/// supported by an implementation -
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceComputeShaderDerivativesPropertiesKHR.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceComputeShaderDerivativesPropertiesKHR.html
/// </a>
/// </summary>
/// <remarks>
/// <list type="table">
/// <item>
/// <term>structextends</term><description>VkPhysicalDeviceProperties2</description>
/// </item>
/// <item>
/// <term>returnedonly</term><description>true</description>
/// </item>
/// </list>
/// </remarks>
[VkStructExtends("VkPhysicalDeviceProperties2")]
[StructLayout(LayoutKind.Sequential)]
public unsafe struct VkPhysicalDeviceComputeShaderDerivativesPropertiesKHR
{
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_PROPERTIES_KHR;

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

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

/// <summary>
/// meshAndTaskShaderDerivatives indicates whether the mesh and task shader stages support the
/// ComputeDerivativeGroupQuadsKHR and ComputeDerivativeGroupLinearKHR SPIR-V capabilities.
/// </summary>
public VkBool32 meshAndTaskShaderDerivatives;
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@ public static unsafe class VkKhrPipelineBinary
/// </remarks>
public const string VK_KHR_PIPELINE_BINARY_EXTENSION_NAME_UTF8_NT = "\u4b56\u4b5f\u5248\u505f\u5049\u4c45\u4e49\u5f45\u4942\u414e\u5952\u455f\u5458\u4e45\u4953\u4e4f\u4e5f\u4d41\u0045";

/// <summary>
/// VK_MAX_PIPELINE_BINARY_KEY_SIZE_KHR - Maximum length of binary key -
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_MAX_PIPELINE_BINARY_KEY_SIZE_KHR.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_MAX_PIPELINE_BINARY_KEY_SIZE_KHR.html
/// </a>
/// </summary>
public const uint VK_MAX_PIPELINE_BINARY_KEY_SIZE_KHR = 32;

/// <summary>
/// vkCreatePipelineBinariesKHR - Create pipeline binaries from a pipeline or previously retrieved data -
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCreatePipelineBinariesKHR.html">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCreatePipelineBinariesKHR.html</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ namespace Exomia.Vulkan.Api.Core;
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkRayTracingPipelineCreateInfoKHR.html
/// </a>
/// </summary>
/// <remarks>
/// <list type="table">
/// <item>
/// <term>structextends</term><description>VkPipelineCreateInfoKHR</description>
/// </item>
/// </list>
/// </remarks>
[VkStructExtends("VkPipelineCreateInfoKHR")]
[StructLayout(LayoutKind.Sequential)]
public unsafe struct VkRayTracingPipelineCreateInfoKHR
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,8 @@ public enum VkColorSpaceKHR
VK_COLOR_SPACE_HDR10_ST2084_EXT = 1000104008,

/// <summary>
/// VK_COLOR_SPACE_DOLBYVISION_EXT specifies support for the images in Dolby Vision (BT2020) color space, encoded
/// according to SMPTE ST2084 Perceptual Quantizer (PQ) specification. The presentation engine is expected to use Dolby
/// &#8217;s proprietary techniques to display the image.
/// VK_COLOR_SPACE_DOLBYVISION_EXT<br />
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkColorSpaceKHR">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkColorSpaceKHR</a>
/// </summary>
VK_COLOR_SPACE_DOLBYVISION_EXT = 1000104009,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ namespace Exomia.Vulkan.Api.Core;
/// </summary>
[VkDepends("VK_KHR_get_physical_device_properties2,VK_VERSION_1_1")]
[VkDeviceExt]
[Obsolete(
"promoted to VK_KHR_compute_shader_derivatives", false,
UrlFormat = "https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_NV_compute_shader_derivatives.html#_deprecation_state")]
public static class VkNvComputeShaderDerivatives
{
/// <summary> The spec version. </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ namespace Exomia.Vulkan.Api.Core;
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkRayTracingPipelineCreateInfoNV.html
/// </a>
/// </summary>
/// <remarks>
/// <list type="table">
/// <item>
/// <term>structextends</term><description>VkPipelineCreateInfoKHR</description>
/// </item>
/// </list>
/// </remarks>
[VkStructExtends("VkPipelineCreateInfoKHR")]
[StructLayout(LayoutKind.Sequential)]
public unsafe struct VkRayTracingPipelineCreateInfoNV
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@ namespace Exomia.Vulkan.Api.Core;
/// VkComputePipelineCreateInfo - Structure specifying parameters of a newly created compute pipeline -
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkComputePipelineCreateInfo.html">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkComputePipelineCreateInfo.html</a>
/// </summary>
/// <remarks>
/// <list type="table">
/// <item>
/// <term>structextends</term><description>VkPipelineCreateInfoKHR</description>
/// </item>
/// </list>
/// </remarks>
[VkStructExtends("VkPipelineCreateInfoKHR")]
[StructLayout(LayoutKind.Sequential)]
public unsafe struct VkComputePipelineCreateInfo
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@ namespace Exomia.Vulkan.Api.Core;
/// VkGraphicsPipelineCreateInfo - Structure specifying parameters of a newly created graphics pipeline -
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkGraphicsPipelineCreateInfo.html">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkGraphicsPipelineCreateInfo.html</a>
/// </summary>
/// <remarks>
/// <list type="table">
/// <item>
/// <term>structextends</term><description>VkPipelineCreateInfoKHR</description>
/// </item>
/// </list>
/// </remarks>
[VkStructExtends("VkPipelineCreateInfoKHR")]
[StructLayout(LayoutKind.Sequential)]
public unsafe struct VkGraphicsPipelineCreateInfo
{
Expand Down
21 changes: 0 additions & 21 deletions src/Exomia.Vulkan.Api.Core/vk.0.0.constants.cs

This file was deleted.

0 comments on commit 55e56a5

Please sign in to comment.