Skip to content

Commit

Permalink
v1.3.287
Browse files Browse the repository at this point in the history
  • Loading branch information
exomia-bot committed Jun 10, 2024
1 parent 60808fb commit 0c21ba8
Show file tree
Hide file tree
Showing 19 changed files with 165 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.285
1.3.287
10 changes: 8 additions & 2 deletions src/Exomia.Vulkan.Api.Core/Enums/VkDriverId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,16 @@ public enum VkDriverId
VK_DRIVER_ID_IMAGINATION_OPEN_SOURCE_MESA = 25,

/// <summary>
/// VK_DRIVER_ID_MESA_AGXV<br />
/// VK_DRIVER_ID_MESA_HONEYKRISP<br />
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkDriverId">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkDriverId</a>
/// </summary>
VK_DRIVER_ID_MESA_AGXV = 26,
VK_DRIVER_ID_MESA_HONEYKRISP = 26,

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

/// <summary>
/// VK_DRIVER_ID_AMD_PROPRIETARY_KHR<br />
Expand Down
7 changes: 2 additions & 5 deletions src/Exomia.Vulkan.Api.Core/Enums/VkMemoryPropertyFlagBits.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,8 @@ public enum VkMemoryPropertyFlagBits
VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT = 0x2,

/// <summary>
/// VK_MEMORY_PROPERTY_HOST_COHERENT_BIT bit specifies that the host cache management commands
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkFlushMappedMemoryRanges.html">vkFlushMappedMemoryRanges</a>
/// and
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkInvalidateMappedMemoryRanges.html">vkInvalidateMappedMemoryRanges</a>
/// are not needed to flush host writes to the device or make device writes visible to the host, respectively.
/// VK_MEMORY_PROPERTY_HOST_COHERENT_BIT<br />
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkMemoryPropertyFlagBits">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkMemoryPropertyFlagBits</a>
/// </summary>
VK_MEMORY_PROPERTY_HOST_COHERENT_BIT = 0x4,

Expand Down
8 changes: 4 additions & 4 deletions src/Exomia.Vulkan.Api.Core/Enums/VkResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ public enum VkResult
VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT = -1000158000,

/// <summary>
/// VK_ERROR_NOT_PERMITTED_KHR<br />
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkResult">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkResult</a>
/// VK_ERROR_NOT_PERMITTED_KHR The driver implementation has denied a request to acquire a priority above the
/// default priority (VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT) because the application does not have sufficient privileges.
/// </summary>
VK_ERROR_NOT_PERMITTED_KHR = -1000174001,

Expand Down Expand Up @@ -264,8 +264,8 @@ public enum VkResult
VK_ERROR_FRAGMENTATION_EXT = VK_ERROR_FRAGMENTATION,

/// <summary>
/// VK_ERROR_NOT_PERMITTED_EXT<br />
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkResult">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkResult</a>
/// VK_ERROR_NOT_PERMITTED_KHR The driver implementation has denied a request to acquire a priority above the
/// default priority (VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT) because the application does not have sufficient privileges.
/// </summary>
VK_ERROR_NOT_PERMITTED_EXT = VK_ERROR_NOT_PERMITTED_KHR,

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 @@ -5389,6 +5389,12 @@ public enum VkStructureType
/// </summary>
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV = 1000563000,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_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_REPLICATED_COMPOSITES_FEATURES_EXT = 1000564000,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_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>
Expand Down
6 changes: 6 additions & 0 deletions src/Exomia.Vulkan.Api.Core/Enums/VkVendorId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ namespace Exomia.Vulkan.Api.Core;
/// </summary>
public enum VkVendorId
{
/// <summary>
/// VK_VENDOR_ID_KHRONOS<br />
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkVendorId">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkVendorId</a>
/// </summary>
VK_VENDOR_ID_KHRONOS = 0x10000,

/// <summary>
/// VK_VENDOR_ID_VIV<br />
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkVendorId">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkVendorId</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,10 @@ public static unsafe class VkExtHostImageCopy
/// vkCopyImageToImageEXT - Copy image data using the host -
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCopyImageToImageEXT.html">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCopyImageToImageEXT.html</a>
/// </summary>
/// <param name="device">device is the device which owns pCopyImageToMemoryInfo-&gt;srcImage.</param>
/// <param name="device">
/// device is the device which owns pCopyImageToImageInfo-&gt;srcImage and pCopyImageToImageInfo-&gt;
/// dstImage.
/// </param>
/// <param name="pCopyImageToImageInfo">
/// pCopyImageToImageInfo is a pointer to a VkCopyImageToImageInfoEXT structure
/// describing the copy parameters.
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.VkExtShaderReplicatedComposites;

#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_shader_replicated_composites - device extension (nr. 565) - author 'EXT' [platform '' | contact 'Kevin Petit
/// @kpet']<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_EXT_shader_replicated_composites.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_EXT_shader_replicated_composites.html
/// </a>
/// </summary>
[VkDeviceExt]
public static class VkExtShaderReplicatedComposites
{
/// <summary> The spec version. </summary>
public const uint VK_EXT_SHADER_REPLICATED_COMPOSITES_SPEC_VERSION = 1;

/// <summary> The extension name. </summary>
public const string VK_EXT_SHADER_REPLICATED_COMPOSITES_EXTENSION_NAME = "VK_EXT_shader_replicated_composites";

/// <summary>
/// An UTF8 null terminated version of <see cref="VK_EXT_SHADER_REPLICATED_COMPOSITES_EXTENSION_NAME" />
/// represented by an UTF16 string.
/// </summary>
/// <remarks>
/// Example usage:<br />
/// <br />
/// fixed(char* ptr = VK_EXT_SHADER_REPLICATED_COMPOSITES_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_SHADER_REPLICATED_COMPOSITES_EXTENSION_NAME_UTF8_NT =
"\u4b56\u455f\u5458\u535f\u4148\u4544\u5f52\u4552\u4c50\u4349\u5441\u4445\u435f\u4d4f\u4f50\u4953\u4554\u5f53\u5845\u4554\u534e\u4f49\u5f4e\u414e\u454d\u0000";
}
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>
/// VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT - Structure describing whether support for replicated
/// composites in SPIR-V is enabled -
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT.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 VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT
{
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT;

/// <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>
/// shaderReplicatedCompositesspecifies whether shader modules can declare the ReplicatedCompositesEXT
/// capability.
/// </summary>
public VkBool32 shaderReplicatedComposites;
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ namespace Exomia.Vulkan.Api.Core;
/// <item>
/// <term>structextends</term><description>VkSurfaceCapabilities2KHR</description>
/// </item>
/// <item>
/// <term>returnedonly</term><description>true</description>
/// </item>
/// </list>
/// </remarks>
[VkStructExtends("VkSurfaceCapabilities2KHR")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ namespace Exomia.Vulkan.Api.Core;
/// <remarks>
/// <list type="table">
/// <item>
/// <term>structextends</term><description>VkInstanceCreateInfo</description>
/// <term>structextends</term>
/// <description>VkInstanceCreateInfo,VkShaderModuleCreateInfo,VkShaderCreateInfoEXT</description>
/// </item>
/// </list>
/// </remarks>
[VkStructExtends("VkInstanceCreateInfo")]
[VkStructExtends("VkInstanceCreateInfo,VkShaderModuleCreateInfo,VkShaderCreateInfoEXT")]
[StructLayout(LayoutKind.Sequential)]
public unsafe struct VkValidationFeaturesEXT
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,13 @@ public static unsafe class VkKhrDynamicRenderingLocalRead
/// </a>
/// </summary>
/// <param name="commandBuffer">commandBuffer is the command buffer into which the command will be recorded.</param>
/// <param name="pLocationInfo">
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdSetRenderingInputAttachmentIndicesKHR.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdSetRenderingInputAttachmentIndicesKHR.html
/// </a>
/// <param name="pInputAttachmentIndexInfo">
/// pInputAttachmentIndexInfo is a VkRenderingInputAttachmentIndexInfoKHR structure
/// indicating the new mappings.
/// </param>
public static readonly delegate*<
VkCommandBuffer /*commandBuffer*/,
VkRenderingInputAttachmentIndexInfoKHR* /*pLocationInfo*/,
VkRenderingInputAttachmentIndexInfoKHR* /*pInputAttachmentIndexInfo*/,
void> vkCmdSetRenderingInputAttachmentIndicesKHR = null;

/// <summary> Loads all function pointer based on the device for this extension. (see remarks!) </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ namespace Exomia.Vulkan.Api.Core;
/// <item>
/// <term>structextends</term><description>VkSurfaceCapabilities2KHR</description>
/// </item>
/// <item>
/// <term>returnedonly</term><description>true</description>
/// </item>
/// </list>
/// </remarks>
[VkStructExtends("VkSurfaceCapabilities2KHR")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ public unsafe struct VkVideoEncodeH265CapabilitiesKHR
/// the reference list L0 for P pictures.NoteAs implementations may override the reference lists,
/// maxPPictureL0ReferenceCount does not limit the number of elements that the application can specify in the L0
/// reference list for P pictures. However, if maxPPictureL0ReferenceCount is zero, then the use of P pictures is not
/// allowed. In case of H.265 encoding, backward-only predictive pictures can be encoded even if P pictures are not
/// supported, as the ITU-T H.265 Specification supports generalized P &amp; B frames (also known as low delay B
/// allowed. In case of H.265 encoding, pictures can be encoded using only forward prediction even if P pictures are
/// not supported, as the ITU-T H.265 Specification supports generalized P &amp; B frames (also known as low delay B
/// frames) whereas B frames can refer to past frames through both the L0 and L1 reference lists.
/// </summary>
public uint maxPPictureL0ReferenceCount;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ namespace Exomia.Vulkan.Api.Core;
/// <item>
/// <term>structextends</term><description>VkSurfaceCapabilities2KHR</description>
/// </item>
/// <item>
/// <term>returnedonly</term><description>true</description>
/// </item>
/// </list>
/// </remarks>
[VkStructExtends("VkSurfaceCapabilities2KHR")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public unsafe struct VkGraphicsPipelineCreateInfo

/// <summary>
/// pInputAssemblyState is a pointer to a VkPipelineInputAssemblyStateCreateInfo structure which determines input
/// assembly behavior for vertex shading, as described in Drawing Commands. If the VK_EXT_extended_dynamic_state3
/// assembly behavior for vertex shading, as described in Drawing Commands. If the VK_EXT_extended_dynamic_state3
/// extension is enabled, it can be NULL if the pipeline is created with both
/// VK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE, and VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGY dynamic states set and
/// dynamicPrimitiveTopologyUnrestricted is VK_TRUE. It is ignored if the pipeline includes a mesh shader stage.
Expand All @@ -66,15 +66,15 @@ public unsafe struct VkGraphicsPipelineCreateInfo

/// <summary>
/// pViewportState is a pointer to a VkPipelineViewportStateCreateInfo structure defining viewport state used when
/// rasterization is enabled. If the VK_EXT_extended_dynamic_state3 extension is enabled, it can be NULL if the
/// rasterization is enabled. If the VK_EXT_extended_dynamic_state3 extension is enabled, it can be NULL if the
/// pipeline is created with both VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT, and VK_DYNAMIC_STATE_SCISSOR_WITH_COUNT dynamic
/// states set.
/// </summary>
public VkPipelineViewportStateCreateInfo* pViewportState;

/// <summary>
/// pRasterizationState is a pointer to a VkPipelineRasterizationStateCreateInfo structure defining rasterization
/// state. If the VK_EXT_extended_dynamic_state3 extension is enabled, it can be NULL if the pipeline is created with
/// state. If the VK_EXT_extended_dynamic_state3 extension is enabled, it can be NULL if the pipeline is created with
/// all of VK_DYNAMIC_STATE_DEPTH_CLAMP_ENABLE_EXT, VK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLE,
/// VK_DYNAMIC_STATE_POLYGON_MODE_EXT, VK_DYNAMIC_STATE_CULL_MODE, VK_DYNAMIC_STATE_FRONT_FACE,
/// VK_DYNAMIC_STATE_DEPTH_BIAS_ENABLE, VK_DYNAMIC_STATE_DEPTH_BIAS, and VK_DYNAMIC_STATE_LINE_WIDTHdynamic states set.
Expand All @@ -83,7 +83,7 @@ public unsafe struct VkGraphicsPipelineCreateInfo

/// <summary>
/// pMultisampleState is a pointer to a VkPipelineMultisampleStateCreateInfo structure defining multisample state
/// used when rasterization is enabled. If the VK_EXT_extended_dynamic_state3 extension is enabled, it can be NULL if
/// used when rasterization is enabled. If the VK_EXT_extended_dynamic_state3 extension is enabled, it can be NULL if
/// the pipeline is created with all of VK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXT, VK_DYNAMIC_STATE_SAMPLE_MASK_EXT,
/// and VK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXT dynamic states set, and either alphaToOne is disabled on the
/// device or VK_DYNAMIC_STATE_ALPHA_TO_ONE_ENABLE_EXT is set, in which case
Expand All @@ -93,7 +93,7 @@ public unsafe struct VkGraphicsPipelineCreateInfo

/// <summary>
/// pDepthStencilState is a pointer to a VkPipelineDepthStencilStateCreateInfo structure defining depth/stencil
/// state used when rasterization is enabled for depth or stencil attachments accessed during rendering. If the
/// state used when rasterization is enabled for depth or stencil attachments accessed during rendering. If the
/// VK_EXT_extended_dynamic_state3 extension is enabled, it can be NULL if the pipeline is created with all of
/// VK_DYNAMIC_STATE_DEPTH_TEST_ENABLE, VK_DYNAMIC_STATE_DEPTH_WRITE_ENABLE, VK_DYNAMIC_STATE_DEPTH_COMPARE_OP,
/// VK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE, VK_DYNAMIC_STATE_STENCIL_TEST_ENABLE, VK_DYNAMIC_STATE_STENCIL_OP, and
Expand All @@ -103,7 +103,7 @@ public unsafe struct VkGraphicsPipelineCreateInfo

/// <summary>
/// pColorBlendState is a pointer to a VkPipelineColorBlendStateCreateInfo structure defining color blend state
/// used when rasterization is enabled for any color attachments accessed during rendering. If the
/// used when rasterization is enabled for any color attachments accessed during rendering. If the
/// VK_EXT_extended_dynamic_state3 extension is enabled, it can be NULL if the pipeline is created with all of
/// VK_DYNAMIC_STATE_LOGIC_OP_ENABLE_EXT, VK_DYNAMIC_STATE_LOGIC_OP_EXT, VK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXT,
/// VK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXT, VK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT, and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ public unsafe struct VkPhysicalDeviceSubgroupProperties
public uint subgroupSize;

/// <summary>
/// supportedStages is a bitfield of VkShaderStageFlagBits describing the shader stages that group operations
/// with subgroup scope are supported in. supportedStages will have the VK_SHADER_STAGE_COMPUTE_BITbit set if any of
/// the physical device&#8217;s queues support VK_QUEUE_COMPUTE_BIT.
/// supportedStages is a bitfield of VkShaderStageFlagBitsdescribing the shader stages that group operations with
/// subgroup scope are supported in. supportedStages will have the VK_SHADER_STAGE_COMPUTE_BITbit set if any of the
/// physical device&#8217;s queues support VK_QUEUE_COMPUTE_BIT.
/// </summary>
public VkShaderStageFlags supportedStages;

Expand Down
Loading

0 comments on commit 0c21ba8

Please sign in to comment.