Skip to content

Commit

Permalink
Merge pull request #74 from exomia/release/v1.3.251
Browse files Browse the repository at this point in the history
Release/v1.3.251
  • Loading branch information
baetz-daniel authored May 29, 2023
2 parents 1829257 + d7347f7 commit 934ed2c
Show file tree
Hide file tree
Showing 20 changed files with 145 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.250
1.3.251
11 changes: 9 additions & 2 deletions src/Exomia.Vulkan.Api.Core/Enums/VkDynamicState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1017,8 +1017,15 @@ public enum VkDynamicState
VK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NV = 1000455032,

/// <summary>
/// VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT<br />
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkDynamicState">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkDynamicState</a>
/// VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT specifies that the
/// VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTand
/// VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTflags will be ignored and must be set dynamically
/// with
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdSetAttachmentFeedbackLoopEnableEXT.html">
/// vkCmdSetAttachmentFeedbackLoopEnableEXT
/// </a>
/// before any draw call.
/// </summary>
VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT = 1000524000,

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 @@ -4591,6 +4591,12 @@ public enum VkStructureType
/// </summary>
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_EXT = 1000498000,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_UNUSED_ATTACHMENTS_FEATURES_EXT<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_DYNAMIC_RENDERING_UNUSED_ATTACHMENTS_FEATURES_EXT = 1000499000,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_RENDER_AREAS_FEATURES_QCOM<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
2 changes: 1 addition & 1 deletion src/Exomia.Vulkan.Api.Core/Enums/VkSubpassContents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public enum VkSubpassContents
/// VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS specifies that the contents are recorded in secondary command
/// buffers that will be called from the primary command buffer, and
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdExecuteCommands.html">vkCmdExecuteCommands</a>
/// is the only valid command on the command buffer until
/// is the only valid command in the command buffer until
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdNextSubpass.html">vkCmdNextSubpass</a>
/// or
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdEndRenderPass.html">vkCmdEndRenderPass</a>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#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.VkExtDynamicRenderingUnusedAttachments;

#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_EXT_dynamic_rendering_unused_attachments - device extension (nr. 500) - author 'EXT' [platform '' | contact
/// 'Piers Daniell @pdaniell-nv']<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_EXT_dynamic_rendering_unused_attachments.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_EXT_dynamic_rendering_unused_attachments.html
/// </a>
/// </summary>
[VkDepends("(VK_KHR_get_physical_device_properties2,VK_VERSION_1_1)+(VK_KHR_dynamic_rendering,VK_VERSION_1_3)")]
public static class VkExtDynamicRenderingUnusedAttachments
{
/// <summary> The spec version. </summary>
public const uint VK_EXT_DYNAMIC_RENDERING_UNUSED_ATTACHMENTS_SPEC_VERSION = 1;

/// <summary> The extension name. </summary>
public const string VK_EXT_DYNAMIC_RENDERING_UNUSED_ATTACHMENTS_EXTENSION_NAME = "VK_EXT_dynamic_rendering_unused_attachments";

/// <summary>
/// An UTF8 null terminated version of <see cref="VK_EXT_DYNAMIC_RENDERING_UNUSED_ATTACHMENTS_EXTENSION_NAME" />
/// represented by an UTF16 string.
/// </summary>
/// <remarks>
/// Example usage:<br />
/// <br />
/// fixed(char* ptr = VK_EXT_DYNAMIC_RENDERING_UNUSED_ATTACHMENTS_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_EXT_DYNAMIC_RENDERING_UNUSED_ATTACHMENTS_EXTENSION_NAME_UTF8_NT =
"\u4b56\u455f\u5458\u445f\u4e59\u4d41\u4349\u525f\u4e45\u4544\u4952\u474e\u555f\u554e\u4553\u5f44\u5441\u4154\u4843\u454d\u544e\u5f53\u5845\u4554\u534e\u4f49\u5f4e\u414e\u454d\u0000";
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
#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>
/// VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT - Structure describing the dynamic rendering unused
/// attachment features that can be supported by an implementation -
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT.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 VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT
{
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_UNUSED_ATTACHMENTS_FEATURES_EXT;

/// <summary>sType is the type of this structure.</summary>
public VkStructureType sType;

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

/// <summary>
/// dynamicRenderingUnusedAttachments indicates that the implementation supports binding graphics pipelines within
/// a render pass instance where any pipeline VkPipelineRenderingCreateInfo::pColorAttachmentFormatselement with a
/// format other than VK_FORMAT_UNDEFINED is allowed with a corresponding VkRenderingInfo::pColorAttachmentselement
/// with a imageView equal to VK_NULL_HANDLE, or any pipeline
/// VkPipelineRenderingCreateInfo::pColorAttachmentFormatselement with a VK_FORMAT_UNDEFINED format is allowed with a
/// corresponding VkRenderingInfo::pColorAttachments element with a non-VK_NULL_HANDLE imageView. Also a
/// VkPipelineRenderingCreateInfo::depthAttachmentFormatother than VK_FORMAT_UNDEFINED is allowed with a VK_NULL_HANDLE
/// VkRenderingInfo::pDepthAttachment, or a VkPipelineRenderingCreateInfo::depthAttachmentFormat of VK_FORMAT_UNDEFINED
/// is allowed with a non-VK_NULL_HANDLEVkRenderingInfo::pDepthAttachment. Also a
/// VkPipelineRenderingCreateInfo::stencilAttachmentFormat other than VK_FORMAT_UNDEFINED is allowed with a
/// VK_NULL_HANDLEVkRenderingInfo::pStencilAttachment, or a VkPipelineRenderingCreateInfo::stencilAttachmentFormat of
/// VK_FORMAT_UNDEFINED is allowed with a non-VK_NULL_HANDLEVkRenderingInfo::pStencilAttachment. In these cases any
/// writes to these attachments are discarded.
/// </summary>
public VkBool32 dynamicRenderingUnusedAttachments;
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public unsafe struct VkSwapchainPresentModeInfoEXT
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODE_INFO_EXT;

/// <summary>sType is the type of this structure</summary>
/// <summary>sType is the type of this structure.</summary>
public VkStructureType sType;

/// <summary>pNext is NULL or a pointer to a structure extending this structure.</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public unsafe struct VkAttachmentSampleCountInfoAMD
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD;

/// <summary>sType is the type of this structure</summary>
/// <summary>sType is the type of this structure.</summary>
public VkStructureType sType;

/// <summary>pNext is NULL or a pointer to a structure extending this structure</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ public unsafe struct VkVideoDecodeInfoKHR
public uint referenceSlotCount;

/// <summary>
/// pReferenceSlots is a pointer to an array of VkVideoReferenceSlotInfoKHR structures describing the DPB slots
/// and corresponding reference picture resources to use in this video decode operation (the set of active reference
/// pictures).
/// pReferenceSlots is NULL or a pointer to an array of VkVideoReferenceSlotInfoKHR structures describing the DPB
/// slots and corresponding reference picture resources to use in this video decode operation (the set of active
/// reference pictures).
/// </summary>
public VkVideoReferenceSlotInfoKHR* pReferenceSlots;
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public unsafe struct VkCommandBufferInheritanceRenderingInfo
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFO;

/// <summary>sType is the type of this structure</summary>
/// <summary>sType is the type of this structure.</summary>
public VkStructureType sType;

/// <summary>pNext is NULL or a pointer to a structure extending this structure</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public unsafe struct VkExternalSemaphoreProperties
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES;

/// <summary>sType is the type of this structure</summary>
/// <summary>sType is the type of this structure.</summary>
public VkStructureType sType;

/// <summary>pNext is NULL or a pointer to a structure extending this structure.</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public unsafe struct VkBufferCollectionBufferCreateInfoFUCHSIA
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_BUFFER_COLLECTION_BUFFER_CREATE_INFO_FUCHSIA;

/// <summary>sType is the type of this structure</summary>
/// <summary>sType is the type of this structure.</summary>
public VkStructureType sType;

/// <summary>pNext is NULL or a pointer to a structure extending this structure</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public unsafe struct VkBufferCollectionConstraintsInfoFUCHSIA
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_BUFFER_COLLECTION_CONSTRAINTS_INFO_FUCHSIA;

/// <summary>sType is the type of this structure</summary>
/// <summary>sType is the type of this structure.</summary>
public VkStructureType sType;

/// <summary>pNext is NULL or a pointer to a structure extending this structure</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public unsafe struct VkBufferCollectionCreateInfoFUCHSIA
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_BUFFER_COLLECTION_CREATE_INFO_FUCHSIA;

/// <summary>sType is the type of this structure</summary>
/// <summary>sType is the type of this structure.</summary>
public VkStructureType sType;

/// <summary>pNext is NULL or a pointer to a structure extending this structure</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public unsafe struct VkBufferCollectionImageCreateInfoFUCHSIA
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_BUFFER_COLLECTION_IMAGE_CREATE_INFO_FUCHSIA;

/// <summary>sType is the type of this structure</summary>
/// <summary>sType is the type of this structure.</summary>
public VkStructureType sType;

/// <summary>pNext is NULL or a pointer to a structure extending this structure</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public unsafe struct VkBufferCollectionPropertiesFUCHSIA
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_BUFFER_COLLECTION_PROPERTIES_FUCHSIA;

/// <summary>sType is the type of this structure</summary>
/// <summary>sType is the type of this structure.</summary>
public VkStructureType sType;

/// <summary>pNext is NULL or a pointer to a structure extending this structure</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public unsafe struct VkBufferConstraintsInfoFUCHSIA
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_BUFFER_CONSTRAINTS_INFO_FUCHSIA;

/// <summary>sType is the type of this structure</summary>
/// <summary>sType is the type of this structure.</summary>
public VkStructureType sType;

/// <summary>pNext is NULL or a pointer to a structure extending this structure</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public unsafe struct VkImageFormatConstraintsInfoFUCHSIA
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_IMAGE_FORMAT_CONSTRAINTS_INFO_FUCHSIA;

/// <summary>sType is the type of this structure</summary>
/// <summary>sType is the type of this structure.</summary>
public VkStructureType sType;

/// <summary>pNext is NULL or a pointer to a structure extending this structure</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public unsafe struct VkImportMemoryBufferCollectionFUCHSIA
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_IMPORT_MEMORY_BUFFER_COLLECTION_FUCHSIA;

/// <summary>sType is the type of this structure</summary>
/// <summary>sType is the type of this structure.</summary>
public VkStructureType sType;

/// <summary>pNext is NULL or a pointer to a structure extending this structure</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public unsafe struct VkSysmemColorSpaceFUCHSIA
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_SYSMEM_COLOR_SPACE_FUCHSIA;

/// <summary>sType is the type of this structure</summary>
/// <summary>sType is the type of this structure.</summary>
public VkStructureType sType;

/// <summary>pNext is NULL or a pointer to a structure extending this structure</summary>
Expand Down

0 comments on commit 934ed2c

Please sign in to comment.