Skip to content

Commit

Permalink
v1.3.250
Browse files Browse the repository at this point in the history
  • Loading branch information
exomia-bot committed May 4, 2023
1 parent 05202bc commit 42099e2
Show file tree
Hide file tree
Showing 8 changed files with 158 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.249
1.3.250
6 changes: 6 additions & 0 deletions src/Exomia.Vulkan.Api.Core/Enums/VkDynamicState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1016,6 +1016,12 @@ public enum VkDynamicState
/// </summary>
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>
/// </summary>
VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT = 1000524000,

/// <summary>
/// VK_DYNAMIC_STATE_CULL_MODE specifies that the cullMode state in
/// <a
Expand Down
6 changes: 3 additions & 3 deletions src/Exomia.Vulkan.Api.Core/Enums/VkFormatFeatureFlagBits2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -391,14 +391,14 @@ public enum VkFormatFeatureFlagBits2 : ulong
VK_FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHR = 0x10000000,

/// <summary>
/// VK_FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NV specifies that the format is supported as a renderable
/// VK_FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NV specifies that the format is supported as a renderable
/// <a
/// href="https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#glossary-linear-color-attachment">
/// Linear
/// Color Attachment
/// </a>
/// . This bit will be set for renderable color formats in the linearTilingFeatures. This
/// must not be set in the optimalTilingFeatures or bufferFeatures members.
/// . This bit will be set for renderable color formats in the linearTilingFeatures. This must
/// not be set in the optimalTilingFeatures or bufferFeatures members.
/// </summary>
VK_FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NV = 0x4000000000,

Expand Down
6 changes: 4 additions & 2 deletions src/Exomia.Vulkan.Api.Core/Enums/VkPipelineCreateFlagBits.cs
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,15 @@ public enum VkPipelineCreateFlagBits

/// <summary>
/// VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXTspecifies that the pipeline may be used with an
/// attachment feedback loop including color attachments.
/// attachment feedback loop including color attachments. It is ignored if
/// VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT is set in pDynamicStates.
/// </summary>
VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT = 0x2000000,

/// <summary>
/// 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.
/// an attachment feedback loop including depth-stencil attachments. It is ignored if
/// VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT is set in pDynamicStates.
/// </summary>
VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT = 0x4000000,

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 @@ -4603,6 +4603,12 @@ public enum VkStructureType
/// </summary>
VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_RENDER_AREAS_RENDER_PASS_BEGIN_INFO_QCOM = 1000510001,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_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_DYNAMIC_STATE_FEATURES_EXT = 1000524000,

/// <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,89 @@
#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.VkExtAttachmentFeedbackLoopDynamicState;

#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_dynamic_state - device extension (nr. 525) - author 'EXT' [platform '' | contact
/// 'Mike Blumenkrantz @zmike']<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_EXT_attachment_feedback_loop_dynamic_state.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_EXT_attachment_feedback_loop_dynamic_state.html
/// </a>
/// </summary>
[VkDepends("VK_KHR_get_physical_device_properties2+VK_EXT_attachment_feedback_loop_layout")]
public static unsafe class VkExtAttachmentFeedbackLoopDynamicState
{
/// <summary> The spec version. </summary>
public const uint VK_EXT_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_SPEC_VERSION = 1;

/// <summary> The extension name. </summary>
public const string VK_EXT_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_EXTENSION_NAME = "VK_EXT_attachment_feedback_loop_dynamic_state";

/// <summary>
/// An UTF8 null terminated version of
/// <see cref="VK_EXT_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_EXTENSION_NAME" /> represented by an UTF16 string.
/// </summary>
/// <remarks>
/// Example usage:<br />
/// <br />
/// fixed(char* ptr = VK_EXT_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_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_DYNAMIC_STATE_EXTENSION_NAME_UTF8_NT =
"\u4b56\u455f\u5458\u415f\u5454\u4341\u4d48\u4e45\u5f54\u4546\u4445\u4142\u4b43\u4c5f\u4f4f\u5f50\u5944\u414e\u494d\u5f43\u5453\u5441\u5f45\u5845\u4554\u534e\u4f49\u5f4e\u414e\u454d\u0000";

/// <summary>
/// vkCmdSetAttachmentFeedbackLoopEnableEXT - Specify whether attachment feedback loops are enabled dynamically on a
/// command buffer -
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdSetAttachmentFeedbackLoopEnableEXT.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdSetAttachmentFeedbackLoopEnableEXT.html
/// </a>
/// </summary>
/// <param name="commandBuffer">commandBuffer is the command buffer into which the command will be recorded.</param>
/// <param name="aspectMask">
/// aspectMask specifies the types of attachments for which feedback loops will be enabled.
/// Attachment types whose aspects are not included in aspectMask will have feedback loops disabled.
/// </param>
public static readonly delegate*<
VkCommandBuffer /*commandBuffer*/,
VkImageAspectFlags /*aspectMask*/,
void> vkCmdSetAttachmentFeedbackLoopEnableEXT = null;

/// <summary> Loads all function pointer based on the device for this extension. (see remarks!) </summary>
/// <param name="device"> The device that the function pointers will be compatible with. </param>
/// <remarks>
/// This load method makes the following function pointers available:<br />
/// <list type="bullet">
/// <item>
/// <description>vkCmdSetAttachmentFeedbackLoopEnableEXT</description>
/// </item>
/// </list>
/// </remarks>
public static void Load(VkDevice device)
{
fixed (delegate*<VkCommandBuffer, VkImageAspectFlags, void>* pvkCmdSetAttachmentFeedbackLoopEnableEXT = &vkCmdSetAttachmentFeedbackLoopEnableEXT)
{
*pvkCmdSetAttachmentFeedbackLoopEnableEXT = (delegate*<VkCommandBuffer, VkImageAspectFlags, void>)GetVkFunction(
device, "\u6b76\u6d43\u5364\u7465\u7441\u6174\u6863\u656d\u746e\u6546\u6465\u6162\u6b63\u6f4c\u706f\u6e45\u6261\u656c\u5845\u0054");
}
}
}
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>
/// VkPhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT - Structure describing if dynamic feedback loops can
/// be used -
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT.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 VkPhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT
{
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_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>attachmentFeedbackLoopDynamicState specifies whether dynamic feedback loops are supported.</summary>
public VkBool32 attachmentFeedbackLoopDynamicState;
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ public unsafe struct VkPipelineColorBlendStateCreateInfo

/// <summary>
/// pAttachments is a pointer to an array of VkPipelineColorBlendAttachmentState structures defining blend state
/// for each color attachment. It is ignored if the pipeline is created with VK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXT,
/// VK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXT, and VK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT dynamic states set.
/// for each color attachment. It is ignored if the pipeline is created with VK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXT,
/// VK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXT, VK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXT, and
/// VK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT dynamic states set.
/// </summary>
public VkPipelineColorBlendAttachmentState* pAttachments;

Expand Down

0 comments on commit 42099e2

Please sign in to comment.