-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b1a9dc
commit 19fc8fc
Showing
16 changed files
with
568 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.3.271 | ||
1.3.272 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
...xomia.Vulkan.Api.Core/Extensions/ARM/VK_ARM_render_pass_striped/VkArmRenderPassStriped.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#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.VkArmRenderPassStriped; | ||
|
||
#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_ARM_render_pass_striped - device extension (nr. 425) - author 'ARM' [platform '' | contact 'Jan-Harald | ||
/// Fredriksen @janharaldfredriksen-arm']<br /> | ||
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_ARM_render_pass_striped.html">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_ARM_render_pass_striped.html</a> | ||
/// </summary> | ||
[VkDepends("VK_KHR_get_physical_device_properties2,VK_KHR_synchronization2")] | ||
[VkDeviceExt] | ||
public static class VkArmRenderPassStriped | ||
{ | ||
/// <summary> The spec version. </summary> | ||
public const uint VK_ARM_RENDER_PASS_STRIPED_SPEC_VERSION = 1; | ||
|
||
/// <summary> The extension name. </summary> | ||
public const string VK_ARM_RENDER_PASS_STRIPED_EXTENSION_NAME = "VK_ARM_render_pass_striped"; | ||
|
||
/// <summary> | ||
/// An UTF8 null terminated version of <see cref="VK_ARM_RENDER_PASS_STRIPED_EXTENSION_NAME" /> represented by an | ||
/// UTF16 string. | ||
/// </summary> | ||
/// <remarks> | ||
/// Example usage:<br /> | ||
/// <br /> | ||
/// fixed(char* ptr = VK_ARM_RENDER_PASS_STRIPED_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_ARM_RENDER_PASS_STRIPED_EXTENSION_NAME_UTF8_NT = | ||
"\u4b56\u415f\u4d52\u525f\u4e45\u4544\u5f52\u4150\u5353\u535f\u5254\u5049\u4445\u455f\u5458\u4e45\u4953\u4e4f\u4e5f\u4d41\u0045"; | ||
} |
46 changes: 46 additions & 0 deletions
46
...Extensions/ARM/VK_ARM_render_pass_striped/VkPhysicalDeviceRenderPassStripedFeaturesARM.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
/// VkPhysicalDeviceRenderPassStripedFeaturesARM - Structure describing whether striped rendering can be supported by | ||
/// an implementation - | ||
/// <a | ||
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceRenderPassStripedFeaturesARM.html"> | ||
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceRenderPassStripedFeaturesARM.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 VkPhysicalDeviceRenderPassStripedFeaturesARM | ||
{ | ||
/// <summary> The stype of this structure. </summary> | ||
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RENDER_PASS_STRIPED_FEATURES_ARM; | ||
|
||
/// <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> renderPassStriped indicates that striped rendering is supported by the implementation.</summary> | ||
public VkBool32 renderPassStriped; | ||
} |
52 changes: 52 additions & 0 deletions
52
...tensions/ARM/VK_ARM_render_pass_striped/VkPhysicalDeviceRenderPassStripedPropertiesARM.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
// ReSharper disable UnusedMember.Global | ||
// ReSharper disable InconsistentNaming | ||
// ReSharper disable once CheckNamespace | ||
namespace Exomia.Vulkan.Api.Core; | ||
|
||
/// <summary> | ||
/// VkPhysicalDeviceRenderPassStripedPropertiesARM - Structure describing striped rendering limits of an implementation | ||
/// - | ||
/// <a | ||
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceRenderPassStripedPropertiesARM.html"> | ||
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceRenderPassStripedPropertiesARM.html | ||
/// </a> | ||
/// </summary> | ||
/// <remarks> | ||
/// <list type="table"> | ||
/// <item> | ||
/// <term>structextends</term><description>VkPhysicalDeviceProperties2</description> | ||
/// </item> | ||
/// <item> | ||
/// <term>returnedonly</term><description>true</description> | ||
/// </item> | ||
/// </list> | ||
/// </remarks> | ||
[VkStructExtends("VkPhysicalDeviceProperties2")] | ||
[StructLayout(LayoutKind.Sequential)] | ||
public unsafe struct VkPhysicalDeviceRenderPassStripedPropertiesARM | ||
{ | ||
/// <summary> The stype of this structure. </summary> | ||
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RENDER_PASS_STRIPED_PROPERTIES_ARM; | ||
|
||
/// <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> renderPassStripeGranularityindicates the minimum supported granularity of striped render pass regions.</summary> | ||
public VkExtent2D renderPassStripeGranularity; | ||
|
||
/// <summary> maxRenderPassStripes indicates the maximum number of stripes supported in striped rendering.</summary> | ||
public uint maxRenderPassStripes; | ||
} |
48 changes: 48 additions & 0 deletions
48
...lkan.Api.Core/Extensions/ARM/VK_ARM_render_pass_striped/VkRenderPassStripeBeginInfoARM.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
#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> | ||
/// VkRenderPassStripeBeginInfoARM - Structure specifying striped rendering information - | ||
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkRenderPassStripeBeginInfoARM.html">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkRenderPassStripeBeginInfoARM.html</a> | ||
/// </summary> | ||
/// <remarks> | ||
/// <list type="table"> | ||
/// <item> | ||
/// <term>structextends</term><description>VkRenderingInfo,VkRenderPassBeginInfo</description> | ||
/// </item> | ||
/// </list> | ||
/// </remarks> | ||
[VkStructExtends("VkRenderingInfo,VkRenderPassBeginInfo")] | ||
[StructLayout(LayoutKind.Sequential)] | ||
public unsafe struct VkRenderPassStripeBeginInfoARM | ||
{ | ||
/// <summary> The stype of this structure. </summary> | ||
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_RENDER_PASS_STRIPE_BEGIN_INFO_ARM; | ||
|
||
/// <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>stripeInfoCount is the number of stripes in this render pass instance</summary> | ||
public uint stripeInfoCount; | ||
|
||
/// <summary> | ||
/// pStripeInfos is a pointer to an array of stripeInfoCountVkRenderPassStripeInfoARM structures describing the | ||
/// stripes used by the render pass instance. | ||
/// </summary> | ||
public VkRenderPassStripeInfoARM* pStripeInfos; | ||
} |
34 changes: 34 additions & 0 deletions
34
...ia.Vulkan.Api.Core/Extensions/ARM/VK_ARM_render_pass_striped/VkRenderPassStripeInfoARM.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#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> | ||
/// VkRenderPassStripeInfoARM - Structure specifying per rendering stripe information - | ||
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkRenderPassStripeInfoARM.html">https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkRenderPassStripeInfoARM.html</a> | ||
/// </summary> | ||
[StructLayout(LayoutKind.Sequential)] | ||
public unsafe struct VkRenderPassStripeInfoARM | ||
{ | ||
/// <summary> The stype of this structure. </summary> | ||
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_RENDER_PASS_STRIPE_INFO_ARM; | ||
|
||
/// <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>stripeArea is the stripe area, and is described in more detail below.</summary> | ||
public VkRect2D stripeArea; | ||
} |
54 changes: 54 additions & 0 deletions
54
...kan.Api.Core/Extensions/ARM/VK_ARM_render_pass_striped/VkRenderPassStripeSubmitInfoARM.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
#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> | ||
/// VkRenderPassStripeSubmitInfoARM - Structure specifying striped rendering submit information - | ||
/// <a | ||
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkRenderPassStripeSubmitInfoARM.html"> | ||
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkRenderPassStripeSubmitInfoARM.html | ||
/// </a> | ||
/// </summary> | ||
/// <remarks> | ||
/// <list type="table"> | ||
/// <item> | ||
/// <term>structextends</term><description>VkCommandBufferSubmitInfo</description> | ||
/// </item> | ||
/// </list> | ||
/// </remarks> | ||
[VkStructExtends("VkCommandBufferSubmitInfo")] | ||
[StructLayout(LayoutKind.Sequential)] | ||
public unsafe struct VkRenderPassStripeSubmitInfoARM | ||
{ | ||
/// <summary> The stype of this structure. </summary> | ||
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_RENDER_PASS_STRIPE_SUBMIT_INFO_ARM; | ||
|
||
/// <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> | ||
/// stripeSemaphoreInfoCount is the number of semaphores used to signal stripe completion in the render pass | ||
/// instances in the submitted command buffer. | ||
/// </summary> | ||
public uint stripeSemaphoreInfoCount; | ||
|
||
/// <summary> | ||
/// pStripeSemaphoreInfos is a pointer to an array of stripeSemaphoreInfoCount VkSemaphoreSubmitInfo structures | ||
/// describing the semaphores used to signal stripe completion. | ||
/// </summary> | ||
public VkSemaphoreSubmitInfo* pStripeSemaphoreInfos; | ||
} |
Oops, something went wrong.