Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v1.3.246 #69

Merged
merged 5 commits into from
Mar 31, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.245
1.3.246
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
global using VkShaderCreateFlagsEXT = Exomia.Vulkan.Api.Core.VkShaderCreateFlagBitsEXT;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
global using VkShaderRequiredSubgroupSizeCreateInfoEXT = Exomia.Vulkan.Api.Core.VkPipelineShaderStageRequiredSubgroupSizeCreateInfo;
60 changes: 36 additions & 24 deletions src/Exomia.Vulkan.Api.Core/Enums/VkAccessFlagBits2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,18 @@ public enum VkAccessFlagBits2 : ulong
/// logic
/// operations
/// </a>
/// , or certain
/// , or via certain
/// <a href="https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#renderpass-load-store-ops">
/// subpass
/// load operations
/// </a>
/// . Such access occurs in the VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT pipeline stage.
/// or
/// <a href="https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#fragops-shader-tileimage-reads">
/// fragment
/// shader tile image reads
/// </a>
/// . Such access occurs in the VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT pipeline
/// stage.
/// </summary>
VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT = 0x80,

Expand Down Expand Up @@ -136,23 +142,23 @@ public enum VkAccessFlagBits2 : ulong
VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT = 0x200,

/// <summary>
/// VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT specifies write access to a
/// <a href="https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#renderpass">
/// depth/stencil
/// attachment
/// </a>
/// , via
/// VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT specifies write
/// <a href="https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#fragops-ds-state">
/// depth or
/// stencil operations
/// </a>
/// or certain
/// in the VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT_KHR or
/// VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT_KHR pipeline stages or via certain
/// <a href="https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#renderpass-load-store-ops">
/// subpass
/// load and store operations
/// load operations
/// </a>
/// . Such access occurs in the VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT or
/// VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT pipeline stages.
/// or
/// <a href="https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#fragops-shader-tileimage-reads">
/// fragment
/// shader tile image reads
/// </a>
/// in the VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT_KHR pipeline stage.
/// </summary>
VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT = 0x400,

Expand Down Expand Up @@ -542,12 +548,18 @@ public enum VkAccessFlagBits2 : ulong
/// logic
/// operations
/// </a>
/// , or certain
/// , or via certain
/// <a href="https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#renderpass-load-store-ops">
/// subpass
/// load operations
/// </a>
/// . Such access occurs in the VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT pipeline stage.
/// or
/// <a href="https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#fragops-shader-tileimage-reads">
/// fragment
/// shader tile image reads
/// </a>
/// . Such access occurs in the VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT pipeline
/// stage.
/// </summary>
VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT_KHR = VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT,

Expand Down Expand Up @@ -587,23 +599,23 @@ public enum VkAccessFlagBits2 : ulong
VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT_KHR = VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT,

/// <summary>
/// VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT specifies write access to a
/// <a href="https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#renderpass">
/// depth/stencil
/// attachment
/// </a>
/// , via
/// VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT specifies write
/// <a href="https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#fragops-ds-state">
/// depth or
/// stencil operations
/// </a>
/// or certain
/// in the VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT_KHR or
/// VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT_KHR pipeline stages or via certain
/// <a href="https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#renderpass-load-store-ops">
/// subpass
/// load and store operations
/// load operations
/// </a>
/// . Such access occurs in the VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT or
/// VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT pipeline stages.
/// or
/// <a href="https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#fragops-shader-tileimage-reads">
/// fragment
/// shader tile image reads
/// </a>
/// in the VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT_KHR pipeline stage.
/// </summary>
VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT_KHR = VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public enum VkFormatFeatureFlagBits

/// <summary>
/// VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT specifies that an image view can be used as a framebuffer color
/// attachment that supports blending and as an input attachment.
/// attachment that supports blending.
/// </summary>
VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT = 0x100,

Expand Down
4 changes: 2 additions & 2 deletions src/Exomia.Vulkan.Api.Core/Enums/VkFormatFeatureFlagBits2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public enum VkFormatFeatureFlagBits2 : ulong

/// <summary>
/// VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT specifies that an image view can be used as a framebuffer color
/// attachment that supports blending and as an input attachment.
/// attachment that supports blending.
/// </summary>
VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT = 0x100,

Expand Down Expand Up @@ -533,7 +533,7 @@ public enum VkFormatFeatureFlagBits2 : ulong

/// <summary>
/// VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT specifies that an image view can be used as a framebuffer color
/// attachment that supports blending and as an input attachment.
/// attachment that supports blending.
/// </summary>
VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT_KHR = VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT,

Expand Down
6 changes: 6 additions & 0 deletions src/Exomia.Vulkan.Api.Core/Enums/VkObjectType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,12 @@ public enum VkObjectType
/// </summary>
VK_OBJECT_TYPE_OPTICAL_FLOW_SESSION_NV = 1000464000,

/// <summary>
/// VK_OBJECT_TYPE_SHADER_EXT<br />
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkObjectType">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkObjectType</a>
/// </summary>
VK_OBJECT_TYPE_SHADER_EXT = 1000482000,

/// <summary>
/// <list type="table">
/// <item>
Expand Down
3 changes: 3 additions & 0 deletions src/Exomia.Vulkan.Api.Core/Enums/VkResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@ public enum VkResult
/// </summary>
VK_ERROR_COMPRESSION_EXHAUSTED_EXT = -1000338000,

/// <summary>VK_ERROR_INCOMPATIBLE_SHADER_BINARY_EXT The provided binary shader code is not compatible with this device.</summary>
VK_ERROR_INCOMPATIBLE_SHADER_BINARY_EXT = 1000482000,

/// <summary>
/// VK_ERROR_OUT_OF_POOL_MEMORY A pool memory allocation has failed. This must only be returned if no attempt to
/// allocate host or device memory was made to accommodate the new allocation. If the failure was definitely due to
Expand Down
38 changes: 37 additions & 1 deletion src/Exomia.Vulkan.Api.Core/Enums/VkStructureType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4123,6 +4123,18 @@ public enum VkStructureType
/// </summary>
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_2D_VIEW_OF_3D_FEATURES_EXT = 1000393000,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TILE_IMAGE_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_SHADER_TILE_IMAGE_FEATURES_EXT = 1000395000,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TILE_IMAGE_PROPERTIES_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_SHADER_TILE_IMAGE_PROPERTIES_EXT = 1000395001,

/// <summary>
/// VK_STRUCTURE_TYPE_MICROMAP_BUILD_INFO_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 @@ -4483,6 +4495,24 @@ public enum VkStructureType
/// </summary>
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_PROTECTED_ACCESS_FEATURES_EXT = 1000466000,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_OBJECT_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_SHADER_OBJECT_FEATURES_EXT = 1000482000,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_OBJECT_PROPERTIES_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_SHADER_OBJECT_PROPERTIES_EXT = 1000482001,

/// <summary>
/// VK_STRUCTURE_TYPE_SHADER_CREATE_INFO_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_SHADER_CREATE_INFO_EXT = 1000482002,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TILE_PROPERTIES_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 Expand Up @@ -5603,5 +5633,11 @@ public enum VkStructureType
/// VK_STRUCTURE_TYPE_DEVICE_IMAGE_MEMORY_REQUIREMENTS_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_DEVICE_IMAGE_MEMORY_REQUIREMENTS_KHR = VK_STRUCTURE_TYPE_DEVICE_IMAGE_MEMORY_REQUIREMENTS
VK_STRUCTURE_TYPE_DEVICE_IMAGE_MEMORY_REQUIREMENTS_KHR = VK_STRUCTURE_TYPE_DEVICE_IMAGE_MEMORY_REQUIREMENTS,

/// <summary>
/// VK_STRUCTURE_TYPE_SHADER_REQUIRED_SUBGROUP_SIZE_CREATE_INFO_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_SHADER_REQUIRED_SUBGROUP_SIZE_CREATE_INFO_EXT = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO
}
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>
/// VkColorBlendAdvancedEXT - Structure specifying the advanced blend operation parameters for an attachment -
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkColorBlendAdvancedEXT.html">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkColorBlendAdvancedEXT.html</a>
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct VkColorBlendAdvancedEXT
{
/// <summary>
/// advancedBlendOp selects which blend operation is used to calculate the RGB values to write to the color
/// attachment.
/// </summary>
public VkBlendOp advancedBlendOp;

/// <summary>srcPremultiplied specifies whether the source color of the blend operation is treated as premultiplied.</summary>
public VkBool32 srcPremultiplied;

/// <summary>dstPremultiplied specifies whether the destination color of the blend operation is treated as premultiplied.</summary>
public VkBool32 dstPremultiplied;

/// <summary>
/// blendOverlap is a VkBlendOverlapEXT value specifying how the source and destination sample&#8217;s coverage is
/// correlated.
/// </summary>
public VkBlendOverlapEXT blendOverlap;

/// <summary>
/// clampResults specifies the results must be clamped to the [0,1] range before writing to the attachment, which
/// is useful when the attachment format is not normalized fixed-point.
/// </summary>
public VkBool32 clampResults;
}
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>
/// VkColorBlendEquationEXT - Structure specifying the color blend factors and operations for an attachment -
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkColorBlendEquationEXT.html">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkColorBlendEquationEXT.html</a>
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct VkColorBlendEquationEXT
{
/// <summary>srcColorBlendFactor selects which blend factor is used to determine the source factors (Sr,Sg,Sb).</summary>
public VkBlendFactor srcColorBlendFactor;

/// <summary>dstColorBlendFactor selects which blend factor is used to determine the destination factors (Dr,Dg,Db).</summary>
public VkBlendFactor dstColorBlendFactor;

/// <summary>
/// colorBlendOp selects which blend operation is used to calculate the RGB values to write to the color
/// attachment.
/// </summary>
public VkBlendOp colorBlendOp;

/// <summary>srcAlphaBlendFactor selects which blend factor is used to determine the source factor Sa.</summary>
public VkBlendFactor srcAlphaBlendFactor;

/// <summary>dstAlphaBlendFactor selects which blend factor is used to determine the destination factor Da.</summary>
public VkBlendFactor dstAlphaBlendFactor;

/// <summary>
/// alphaBlendOp selects which blend operation is use to calculate the alpha values to write to the color
/// attachment.
/// </summary>
public VkBlendOp alphaBlendOp;
}
Loading