Skip to content

Commit

Permalink
Merge pull request #39 from exomia/release/v1.3.224
Browse files Browse the repository at this point in the history
Release/v1.3.224
  • Loading branch information
baetz-daniel authored Aug 4, 2022
2 parents 91867dc + fe26db0 commit 7f93990
Show file tree
Hide file tree
Showing 12 changed files with 361 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.223
1.3.224
6 changes: 3 additions & 3 deletions src/Exomia.Vulkan.Api.Core/Enums/VkDependencyFlagBits.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ public enum VkDependencyFlagBits
VK_DEPENDENCY_VIEW_LOCAL_BIT = 0x2,

/// <summary>
/// VK_DEPENDENCY_RESERVED_3_BIT_EXT<br />
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkDependencyFlagBits">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkDependencyFlagBits</a>
/// VK_DEPENDENCY_FEEDBACK_LOOP_BIT_EXT specifies that the render pass will write to and read from the same image
/// using the VK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT layout.
/// </summary>
VK_DEPENDENCY_RESERVED_3_BIT_EXT = 0x8,
VK_DEPENDENCY_FEEDBACK_LOOP_BIT_EXT = 0x8,

/// <summary>
/// VK_DEPENDENCY_VIEW_LOCAL_BIT specifies that a
Expand Down
10 changes: 10 additions & 0 deletions src/Exomia.Vulkan.Api.Core/Enums/VkImageLayout.cs
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,16 @@ public enum VkImageLayout
/// </summary>
VK_IMAGE_LAYOUT_VIDEO_ENCODE_DPB_KHR = 1000299002,

/// <summary>
/// VK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT must only be used as either a color attachment or
/// depth/stencil attachment in a VkFramebuffer and/or read-only access in a shader as a sampled image, combined
/// image/sampler, or input attachment. This layout is valid only for image subresources of images created with the
/// VK_IMAGE_USAGE_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT usage bit enabled and either the
/// VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT or VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT and either the
/// VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT or VK_IMAGE_USAGE_SAMPLED_BIT usage bits enabled.
/// </summary>
VK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT = 1000339000,

/// <summary>
/// VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMALspecifies a layout for depth/stencil format images
/// allowing read and write access to the stencil aspect as a stencil attachment, and read only access to the depth
Expand Down
8 changes: 5 additions & 3 deletions src/Exomia.Vulkan.Api.Core/Enums/VkImageUsageFlagBits.cs
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,12 @@ public enum VkImageUsageFlagBits
VK_IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR = 0x8000,

/// <summary>
/// VK_IMAGE_USAGE_RESERVED_19_BIT_EXT<br />
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkImageUsageFlagBits">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkImageUsageFlagBits</a>
/// VK_IMAGE_USAGE_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT specifies that the image can be transitioned to the
/// VK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT layout to be used as a color or depth/stencil attachment in a
/// VkFramebufferand/or as a read-only input resource in a shader (sampled image, combined image sampler or input
/// attachment) in the same render pass.
/// </summary>
VK_IMAGE_USAGE_RESERVED_19_BIT_EXT = 0x80000,
VK_IMAGE_USAGE_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT = 0x80000,

/// <summary>
/// VK_IMAGE_USAGE_INVOCATION_MASK_BIT_HUAWEI<br />
Expand Down
24 changes: 18 additions & 6 deletions src/Exomia.Vulkan.Api.Core/Enums/VkPipelineCreateFlagBits.cs
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,12 @@ public enum VkPipelineCreateFlagBits
/// </summary>
VK_PIPELINE_CREATE_LIBRARY_BIT_KHR = 0x800,

/// <summary>
/// VK_PIPELINE_CREATE_RESERVED_29_AMD<br />
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkPipelineCreateFlagBits">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkPipelineCreateFlagBits</a>
/// </summary>
VK_PIPELINE_CREATE_RESERVED_29_AMD = 0x20000000,

/// <summary>
/// VK_PIPELINE_CREATE_RETAIN_LINK_TIME_OPTIMIZATION_INFO_BIT_EXTspecifies that pipeline libraries should retain
/// any information necessary to later perform an optimal link with VK_PIPELINE_CREATE_LINK_TIME_OPTIMIZATION_BIT_EXT.
Expand All @@ -199,23 +205,29 @@ public enum VkPipelineCreateFlagBits
VK_PIPELINE_CREATE_RAY_TRACING_ALLOW_MOTION_BIT_NV = 0x100000,

/// <summary>
/// VK_PIPELINE_CREATE_RESERVED_25_BIT_EXT<br />
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkPipelineCreateFlagBits">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkPipelineCreateFlagBits</a>
/// VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTspecifies that the pipeline may be used with an
/// attachment feedback loop including color attachments.
/// </summary>
VK_PIPELINE_CREATE_RESERVED_25_BIT_EXT = 0x2000000,
VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT = 0x2000000,

/// <summary>
/// VK_PIPELINE_CREATE_RESERVED_26_BIT_EXT<br />
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkPipelineCreateFlagBits">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkPipelineCreateFlagBits</a>
/// VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTspecifies that the pipeline may be used with
/// an attachment feedback loop including depth-stencil attachments.
/// </summary>
VK_PIPELINE_CREATE_RESERVED_26_BIT_EXT = 0x4000000,
VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT = 0x4000000,

/// <summary>
/// VK_PIPELINE_CREATE_RESERVED_24_BIT_NV<br />
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkPipelineCreateFlagBits">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkPipelineCreateFlagBits</a>
/// </summary>
VK_PIPELINE_CREATE_RESERVED_24_BIT_NV = 0x1000000,

/// <summary>
/// VK_PIPELINE_CREATE_RESERVED_BIT_28_NV<br />
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkPipelineCreateFlagBits">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkPipelineCreateFlagBits</a>
/// </summary>
VK_PIPELINE_CREATE_RESERVED_BIT_28_NV = 0x10000000,

/// <summary>
/// VK_PIPELINE_CREATE_RESERVED_27_BIT_EXT<br />
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkPipelineCreateFlagBits">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkPipelineCreateFlagBits</a>
Expand Down
18 changes: 18 additions & 0 deletions src/Exomia.Vulkan.Api.Core/Enums/VkStructureType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3661,6 +3661,12 @@ public enum VkStructureType
/// </summary>
VK_STRUCTURE_TYPE_IMAGE_COMPRESSION_PROPERTIES_EXT = 1000338004,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_LAYOUT_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_ATTACHMENT_FEEDBACK_LOOP_LAYOUT_FEATURES_EXT = 1000339000,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_4444_FORMATS_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>
Expand Down Expand Up @@ -4111,6 +4117,18 @@ public enum VkStructureType
/// </summary>
VK_STRUCTURE_TYPE_TILE_PROPERTIES_QCOM = 1000484001,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_AMIGO_PROFILING_FEATURES_SEC<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_AMIGO_PROFILING_FEATURES_SEC = 1000485000,

/// <summary>
/// VK_STRUCTURE_TYPE_AMIGO_PROFILING_SUBMIT_INFO_SEC<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_AMIGO_PROFILING_SUBMIT_INFO_SEC = 1000485001,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES<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,52 @@
#region License

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

#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_attachment_feedback_loop_layout - device extension (nr. 340) - author 'EXT' [platform '' | contact 'Joshua
/// Ashton @Joshua-Ashton']<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_EXT_attachment_feedback_loop_layout.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_EXT_attachment_feedback_loop_layout.html
/// </a>
/// </summary>
[VkRequires("VK_KHR_get_physical_device_properties2")]
public static class VkExtAttachmentFeedbackLoopLayout
{
/// <summary> The spec version. </summary>
public const uint VK_EXT_ATTACHMENT_FEEDBACK_LOOP_LAYOUT_SPEC_VERSION = 2;

/// <summary> The extension name. </summary>
public const string VK_EXT_ATTACHMENT_FEEDBACK_LOOP_LAYOUT_EXTENSION_NAME = "VK_EXT_attachment_feedback_loop_layout";

/// <summary>
/// An UTF8 null terminated version of <see cref="VK_EXT_ATTACHMENT_FEEDBACK_LOOP_LAYOUT_EXTENSION_NAME" />
/// represented by an UTF16 string.
/// </summary>
/// <remarks>
/// Example usage:<br />
/// <br />
/// fixed(char* ptr = VK_EXT_ATTACHMENT_FEEDBACK_LOOP_LAYOUT_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_ATTACHMENT_FEEDBACK_LOOP_LAYOUT_EXTENSION_NAME_UTF8_NT =
"\u4b56\u455f\u5458\u415f\u5454\u4341\u4d48\u4e45\u5f54\u4546\u4445\u4142\u4b43\u4c5f\u4f4f\u5f50\u414c\u4f59\u5455\u455f\u5458\u4e45\u4953\u4e4f\u4e5f\u4d41\u0045";
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
#region License

// Copyright (c) 2018-2022, 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>
/// VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT - Structure indicating support for a render feedback loop
/// image layout -
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT.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 VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT
{
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_LAYOUT_FEATURES_EXT;

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

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

/// <summary>
/// attachmentFeedbackLoopLayout indicates whether the implementation supports using
/// VK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT image layout for images created with
/// VK_IMAGE_USAGE_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT.
/// </summary>
public VkBool32 attachmentFeedbackLoopLayout;
}
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,24 @@ public enum VkBuildAccelerationStructureFlagBitsKHR
/// </summary>
VK_BUILD_ACCELERATION_STRUCTURE_RESERVED_7_BIT_NV = 0x80,

/// <summary>
/// VK_BUILD_ACCELERATION_STRUCTURE_RESERVED_BIT_9_NV<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkBuildAccelerationStructureFlagBitsKHR">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkBuildAccelerationStructureFlagBitsKHR
/// </a>
/// </summary>
VK_BUILD_ACCELERATION_STRUCTURE_RESERVED_BIT_9_NV = 0x200,

/// <summary>
/// VK_BUILD_ACCELERATION_STRUCTURE_RESERVED_BIT_10_NV<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkBuildAccelerationStructureFlagBitsKHR">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkBuildAccelerationStructureFlagBitsKHR
/// </a>
/// </summary>
VK_BUILD_ACCELERATION_STRUCTURE_RESERVED_BIT_10_NV = 0x400,

/// <summary>
/// VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_UPDATE_BIT_KHR indicates that the specified acceleration structure can be
/// updated with a mode of VK_BUILD_ACCELERATION_STRUCTURE_MODE_UPDATE_KHR in
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
#region License

// Copyright (c) 2018-2022, 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>
/// VkAmigoProfilingSubmitInfoSEC - Stub description of VkAmigoProfilingSubmitInfoSEC -
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkAmigoProfilingSubmitInfoSEC.html">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkAmigoProfilingSubmitInfoSEC.html</a>
/// </summary>
/// <remarks>
/// <list type="table">
/// <item>
/// <term>structextends</term><description>VkSubmitInfo</description>
/// </item>
/// </list>
/// </remarks>
[VkStructExtends("VkSubmitInfo")]
[StructLayout(LayoutKind.Sequential)]
public unsafe struct VkAmigoProfilingSubmitInfoSEC
{
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_AMIGO_PROFILING_SUBMIT_INFO_SEC;

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

/// <summary>
/// pNext<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkAmigoProfilingSubmitInfoSEC">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkAmigoProfilingSubmitInfoSEC
/// </a>
/// </summary>
public void* pNext;

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

/// <summary>
/// swapBufferTimestamp<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkAmigoProfilingSubmitInfoSEC">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkAmigoProfilingSubmitInfoSEC
/// </a>
/// </summary>
public ulong swapBufferTimestamp;
}
Loading

0 comments on commit 7f93990

Please sign in to comment.