Skip to content

Commit

Permalink
v1.3.236
Browse files Browse the repository at this point in the history
  • Loading branch information
exomia-bot committed Dec 2, 2022
1 parent 385d873 commit be0c0a8
Show file tree
Hide file tree
Showing 16 changed files with 382 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.235
1.3.236
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
global using VkDirectDriverLoadingFlagsLUNARG = Exomia.Vulkan.Api.Core.FutureUse32;
6 changes: 6 additions & 0 deletions src/Exomia.Vulkan.Api.Core/Enums/VkDriverId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,12 @@ public enum VkDriverId
/// </summary>
VK_DRIVER_ID_MESA_DOZEN = 23,

/// <summary>
/// VK_DRIVER_ID_MESA_NVK<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_NVK = 24,

/// <summary>
/// VK_DRIVER_ID_AMD_PROPRIETARY_KHR<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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ public enum VkExternalMemoryHandleTypeFlagBits
VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT = 0x200,

/// <summary>
/// VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROIDspecifies an AHardwareBuffer object defined by
/// the Android NDK. See
/// VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROIDspecifies an
/// <a href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/AHardwareBuffer.html">AHardwareBuffer</a>
/// object defined by the Android NDK. See
/// <a
/// href="https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#memory-external-android-hardware-buffer">
/// Android
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 @@ -4309,6 +4309,18 @@ public enum VkStructureType
/// </summary>
VK_STRUCTURE_TYPE_RENDER_PASS_SUBPASS_FEEDBACK_CREATE_INFO_EXT = 1000458003,

/// <summary>
/// VK_STRUCTURE_TYPE_DIRECT_DRIVER_LOADING_INFO_LUNARG<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_DIRECT_DRIVER_LOADING_INFO_LUNARG = 1000459000,

/// <summary>
/// VK_STRUCTURE_TYPE_DIRECT_DRIVER_LOADING_LIST_LUNARG<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_DIRECT_DRIVER_LOADING_LIST_LUNARG = 1000459001,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MODULE_IDENTIFIER_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 @@ -4417,6 +4429,12 @@ public enum VkStructureType
/// </summary>
VK_STRUCTURE_TYPE_AMIGO_PROFILING_SUBMIT_INFO_SEC = 1000485001,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_VIEWPORTS_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>
/// </summary>
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_VIEWPORTS_FEATURES_QCOM = 1000488000,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_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
Original file line number Diff line number Diff line change
Expand Up @@ -150,25 +150,25 @@ public unsafe struct VkPhysicalDeviceDescriptorBufferPropertiesEXT

/// <summary>
/// uniformTexelBufferDescriptorSize indicates the size in bytes of a VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER
/// descriptor if the robust buffer access feature is not enabled.
/// descriptor if the robustBufferAccess feature is not enabled.
/// </summary>
public nuint uniformTexelBufferDescriptorSize;

/// <summary>
/// robustUniformTexelBufferDescriptorSize indicates the size in bytes of a
/// VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER descriptor if the robust buffer access feature is enabled.
/// VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER descriptor if the robustBufferAccess feature is enabled.
/// </summary>
public nuint robustUniformTexelBufferDescriptorSize;

/// <summary>
/// storageTexelBufferDescriptorSize indicates the size in bytes of a VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER
/// descriptor if the robust buffer access feature is not enabled.
/// descriptor if the robustBufferAccess feature is not enabled.
/// </summary>
public nuint storageTexelBufferDescriptorSize;

/// <summary>
/// robustStorageTexelBufferDescriptorSize indicates the size in bytes of a
/// VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER descriptor if the robust buffer access feature is enabled.
/// VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER descriptor if the robustBufferAccess feature is enabled.
/// </summary>
public nuint robustStorageTexelBufferDescriptorSize;

Expand All @@ -177,7 +177,7 @@ public unsafe struct VkPhysicalDeviceDescriptorBufferPropertiesEXT

/// <summary>
/// robustUniformBufferDescriptorSize indicates the size in bytes of a VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER
/// descriptor if the robust buffer access feature is enabled.
/// descriptor if the robustBufferAccess feature is enabled.
/// </summary>
public nuint robustUniformBufferDescriptorSize;

Expand All @@ -186,7 +186,7 @@ public unsafe struct VkPhysicalDeviceDescriptorBufferPropertiesEXT

/// <summary>
/// robustStorageBufferDescriptorSize indicates the size in bytes of a VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
/// descriptor if the robust buffer access feature is enabled.
/// descriptor if the robustBufferAccess feature is enabled.
/// </summary>
public nuint robustStorageBufferDescriptorSize;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public unsafe struct VkPhysicalDeviceMeshShaderFeaturesEXT
public VkBool32 meshShader;

/// <summary>
/// multiviewMeshShader specifies whether the implementation supports multiview rendering within a render pass,
/// multiviewMeshShader specifies whether the implementation supports multiviewrendering within a render pass,
/// with mesh shaders. If this feature is not enabled, then a pipeline compiled against a subpass with a non-zero view
/// mask must not include a mesh shader.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ public static readonly delegate*<
VkResult> vkGetRayTracingShaderGroupHandlesKHR = null;

/// <summary>
/// vkGetRayTracingCaptureReplayShaderGroupHandlesKHR - Query ray tracing capture replay pipeline shader group handles
/// -
/// vkGetRayTracingCaptureReplayShaderGroupHandlesKHR - Query opaque capture replay data for pipeline shader group
/// handles -
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetRayTracingCaptureReplayShaderGroupHandlesKHR.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetRayTracingCaptureReplayShaderGroupHandlesKHR.html
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ public unsafe struct VkRayTracingShaderGroupCreateInfoKHR
public uint intersectionShader;

/// <summary>
/// pShaderGroupCaptureReplayHandle is NULL or a pointer to replay information for this shader group. Ignored if
/// pShaderGroupCaptureReplayHandle is NULL or a pointer to replay information for this shader group queried from
/// vkGetRayTracingCaptureReplayShaderGroupHandlesKHR, as described in Ray Tracing Capture Replay. Ignored if
/// VkPhysicalDeviceRayTracingPipelineFeaturesKHR::rayTracingPipelineShaderGroupHandleCaptureReplayis VK_FALSE.
/// </summary>
public void* pShaderGroupCaptureReplayHandle;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
#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>
/// VkDirectDriverLoadingInfoLUNARG - Structure specifying the information required to load an additional driver
/// -
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDirectDriverLoadingInfoLUNARG.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDirectDriverLoadingInfoLUNARG.html
/// </a>
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public unsafe struct VkDirectDriverLoadingInfoLUNARG
{
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_DIRECT_DRIVER_LOADING_INFO_LUNARG;

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

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

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

/// <summary>
/// pfnGetInstanceProcAddr<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkDirectDriverLoadingInfoLUNARG">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkDirectDriverLoadingInfoLUNARG
/// </a>
/// </summary>
public delegate*<VkInstance /*instance*/, byte* /*pName*/, delegate*<void>> pfnGetInstanceProcAddr;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
#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>
/// VkDirectDriverLoadingListLUNARG - Structure specifying additional drivers to load -
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDirectDriverLoadingListLUNARG.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDirectDriverLoadingListLUNARG.html
/// </a>
/// </summary>
/// <remarks>
/// <list type="table">
/// <item>
/// <term>structextends</term><description>VkInstanceCreateInfo</description>
/// </item>
/// </list>
/// </remarks>
[VkStructExtends("VkInstanceCreateInfo")]
[StructLayout(LayoutKind.Sequential)]
public unsafe struct VkDirectDriverLoadingListLUNARG
{
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_DIRECT_DRIVER_LOADING_LIST_LUNARG;

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

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

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

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

/// <summary>
/// pDrivers<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkDirectDriverLoadingListLUNARG">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkDirectDriverLoadingListLUNARG
/// </a>
/// </summary>
public VkDirectDriverLoadingInfoLUNARG* pDrivers;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#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>
/// VkDirectDriverLoadingModeLUNARG - Specify loader behavior of added drivers -
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDirectDriverLoadingModeLUNARG.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDirectDriverLoadingModeLUNARG.html
/// </a>
/// </summary>
public enum VkDirectDriverLoadingModeLUNARG
{
/// <summary>
/// VK_DIRECT_DRIVER_LOADING_MODE_EXCLUSIVE_LUNARG<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkDirectDriverLoadingModeLUNARG">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkDirectDriverLoadingModeLUNARG
/// </a>
/// </summary>
VK_DIRECT_DRIVER_LOADING_MODE_EXCLUSIVE_LUNARG = 0,

/// <summary>
/// VK_DIRECT_DRIVER_LOADING_MODE_INCLUSIVE_LUNARG<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkDirectDriverLoadingModeLUNARG">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VkDirectDriverLoadingModeLUNARG
/// </a>
/// </summary>
VK_DIRECT_DRIVER_LOADING_MODE_INCLUSIVE_LUNARG = 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#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.VkLunargDirectDriverLoading;

#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_LUNARG_direct_driver_loading - instance extension (nr. 460) - author 'LUNARG' [platform '' | contact 'Charles
/// Giessen @charles-lunarg']<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_LUNARG_direct_driver_loading.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_LUNARG_direct_driver_loading.html
/// </a>
/// </summary>
public static class VkLunargDirectDriverLoading
{
/// <summary> The spec version. </summary>
public const uint VK_LUNARG_DIRECT_DRIVER_LOADING_SPEC_VERSION = 1;

/// <summary> The extension name. </summary>
public const string VK_LUNARG_DIRECT_DRIVER_LOADING_EXTENSION_NAME = "VK_LUNARG_direct_driver_loading";

/// <summary>
/// An UTF8 null terminated version of <see cref="VK_LUNARG_DIRECT_DRIVER_LOADING_EXTENSION_NAME" /> represented
/// by an UTF16 string.
/// </summary>
/// <remarks>
/// Example usage:<br />
/// <br />
/// fixed(char* ptr = VK_LUNARG_DIRECT_DRIVER_LOADING_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_LUNARG_DIRECT_DRIVER_LOADING_EXTENSION_NAME_UTF8_NT =
"\u4b56\u4c5f\u4e55\u5241\u5f47\u4944\u4552\u5443\u445f\u4952\u4556\u5f52\u4f4c\u4441\u4e49\u5f47\u5845\u4554\u534e\u4f49\u5f4e\u414e\u454d\u0000";
}
Loading

0 comments on commit be0c0a8

Please sign in to comment.