Skip to content

Commit

Permalink
v1.3.293
Browse files Browse the repository at this point in the history
  • Loading branch information
exomia-bot committed Aug 16, 2024
1 parent 2666e5e commit 9379ee2
Show file tree
Hide file tree
Showing 8 changed files with 126 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.292
1.3.293
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 @@ -5407,6 +5407,12 @@ public enum VkStructureType
/// </summary>
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR = 1000558000,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMMAND_BUFFER_INHERITANCE_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_COMMAND_BUFFER_INHERITANCE_FEATURES_NV = 1000559000,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ public unsafe struct VkLayerSettingEXT
public byte* pLayerName;

/// <summary>
/// pSettingName is a pointer to a null-terminated UTF-8 string naming the setting to configure. Unknown
/// pSettingName by the layer are ignored.
/// pSettingName is a pointer to a null-terminated UTF-8 string naming the setting to configure. Values of
/// pSettingName that are unknown to the layer are ignored.
/// </summary>
public byte* pSettingName;

/// <summary>type is a VkLayerSettingTypeEXT value specifying the type of the pValues values.</summary>
public VkLayerSettingTypeEXT type;

/// <summary>
/// valueCount<br />
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkLayerSettingEXT">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkLayerSettingEXT</a>
/// </summary>
/// <summary>valueCount is the number of values used to configure the layer setting.</summary>
public uint valueCount;

/// <summary>pValues is a pointer to an array of count values of the type indicated by type to configure the layer setting.</summary>
/// <summary>
/// pValues is a pointer to an array of valueCount values of the type indicated by type to configure the layer
/// setting.
/// </summary>
public void* pValues;
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public unsafe struct VkLayerSettingsCreateInfoEXT
public uint settingCount;

/// <summary>
/// pSettings is a pointer to an array of settingCountVkLayerSettingEXT values specifying the setting to be
/// pSettings is a pointer to an array of settingCountVkLayerSettingEXT values specifying the settings to be
/// configured.
/// </summary>
public VkLayerSettingEXT* pSettings;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,12 @@ public enum VkValidationFeatureDisableEXT
VK_VALIDATION_FEATURE_DISABLE_ALL_EXT = 0,

/// <summary>
/// VK_VALIDATION_FEATURE_DISABLE_SHADERS_EXT specifies that shader validation is disabled. This feature is
/// enabled by default.
/// VK_VALIDATION_FEATURE_DISABLE_SHADERS_EXT specifies that shader validation, both runtime and standalone, is
/// disabled. This validation occurs inside
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkShaderCreateInfoEXT.html">VkShaderCreateInfoEXT</a>
/// and
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkShaderModuleCreateInfo.html">VkShaderModuleCreateInfo</a>
/// . This feature is enabled by default.
/// </summary>
VK_VALIDATION_FEATURE_DISABLE_SHADERS_EXT = 1,

Expand All @@ -48,8 +52,7 @@ public enum VkValidationFeatureDisableEXT

/// <summary>
/// VK_VALIDATION_FEATURE_DISABLE_CORE_CHECKS_EXT specifies that core validation checks are disabled. This feature
/// is enabled by default. If this feature is disabled, the shader validation and GPU-assisted validation features are
/// also disabled.
/// is enabled by default. If this feature is disabled, VK_VALIDATION_FEATURE_DISABLE_SHADERS_EXT is implied.
/// </summary>
VK_VALIDATION_FEATURE_DISABLE_CORE_CHECKS_EXT = 5,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ public unsafe struct VkVideoEncodeCapabilitiesKHR

/// <summary>
/// encodeInputPictureGranularity indicates the granularity at which encode input picture data is encoded and
/// mayindicate a texel granularity up to the size of the codec-specific coding block size. This capability does not
/// impose any valid usage constraints on the application, however, depending on the contents of the encode input
/// picture, it may have effects on the encoded bitstream, as described in more detail below.
/// mayindicate a texel granularity up to the size of the largest supported codec-specific coding block. This
/// capability does not impose any valid usage constraints on the application, however, depending on the contents of
/// the encode input picture, it may have effects on the encoded bitstream, as described in more detail below.
/// </summary>
public VkExtent2D encodeInputPictureGranularity;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#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.VkNvCommandBufferInheritance;

#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_NV_command_buffer_inheritance - device extension (nr. 560) - author 'NV' [platform '' | contact 'Lujin Wang
/// @lujinwangnv']<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_NV_command_buffer_inheritance.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_NV_command_buffer_inheritance.html
/// </a>
/// </summary>
[VkDeviceExt]
public static class VkNvCommandBufferInheritance
{
/// <summary> The spec version. </summary>
public const uint VK_NV_COMMAND_BUFFER_INHERITANCE_SPEC_VERSION = 1;

/// <summary> The extension name. </summary>
public const string VK_NV_COMMAND_BUFFER_INHERITANCE_EXTENSION_NAME = "VK_NV_command_buffer_inheritance";

/// <summary>
/// An UTF8 null terminated version of <see cref="VK_NV_COMMAND_BUFFER_INHERITANCE_EXTENSION_NAME" /> represented
/// by an UTF16 string.
/// </summary>
/// <remarks>
/// Example usage:<br />
/// <br />
/// fixed(char* ptr = VK_NV_COMMAND_BUFFER_INHERITANCE_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_NV_COMMAND_BUFFER_INHERITANCE_EXTENSION_NAME_UTF8_NT =
"\u4b56\u4e5f\u5f56\u4f43\u4d4d\u4e41\u5f44\u5542\u4646\u5245\u495f\u484e\u5245\u5449\u4e41\u4543\u455f\u5458\u4e45\u4953\u4e4f\u4e5f\u4d41\u0045";
}
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

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

/// <summary>
/// VkPhysicalDeviceCommandBufferInheritanceFeaturesNV - Structure describing whether the command buffer inheritance
/// feature is supported by an implementation -
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceCommandBufferInheritanceFeaturesNV.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceCommandBufferInheritanceFeaturesNV.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 VkPhysicalDeviceCommandBufferInheritanceFeaturesNV
{
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMMAND_BUFFER_INHERITANCE_FEATURES_NV;

/// <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>
/// commandBufferInheritanceindicates that command buffers executed in a queue inherit graphics and compute state
/// from the previously executed command buffer in that queue.
/// </summary>
public VkBool32 commandBufferInheritance;
}

0 comments on commit 9379ee2

Please sign in to comment.