Skip to content

Commit

Permalink
v1.3.297
Browse files Browse the repository at this point in the history
  • Loading branch information
exomia-bot committed Oct 4, 2024
1 parent 819e328 commit ee5b499
Show file tree
Hide file tree
Showing 7 changed files with 130 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.296
1.3.297
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 @@ -4117,6 +4117,12 @@ public enum VkStructureType
/// </summary>
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIMITIVE_TOPOLOGY_LIST_RESTART_FEATURES_EXT = 1000356000,

/// <summary>
/// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_MODE_FIFO_LATEST_READY_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_PRESENT_MODE_FIFO_LATEST_READY_FEATURES_EXT = 1000361000,

/// <summary>
/// VK_STRUCTURE_TYPE_IMPORT_MEMORY_ZIRCON_HANDLE_INFO_FUCHSIA<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 @@ -99,10 +99,10 @@ public unsafe struct VkSurfaceCapabilities2EXT

/// <summary>
/// supportedUsageFlags is a bitmask of VkImageUsageFlagBitsrepresenting the ways the application can use the
/// presentable images of a swapchain created with VkPresentModeKHR set to VK_PRESENT_MODE_IMMEDIATE_KHR,
/// VK_PRESENT_MODE_MAILBOX_KHR, VK_PRESENT_MODE_FIFO_KHR or VK_PRESENT_MODE_FIFO_RELAXED_KHRfor the surface on the
/// specified device. VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT must be included in the set. Implementations may support
/// additional usages.
/// presentable images of a swapchain created with VkPresentModeKHR set to VK_PRESENT_MODE_FIFO_LATEST_READY_EXT,
/// VK_PRESENT_MODE_IMMEDIATE_KHR, VK_PRESENT_MODE_MAILBOX_KHR, VK_PRESENT_MODE_FIFO_KHR or
/// VK_PRESENT_MODE_FIFO_RELAXED_KHRfor the surface on the specified device. VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT must
/// be included in the set. Implementations may support additional usages.
/// </summary>
public VkImageUsageFlags supportedUsageFlags;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
#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.VkExtPresentModeFifoLatestReady;

#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_present_mode_fifo_latest_ready - device extension (nr. 362) - author 'EXT' [platform '' | contact 'Lionel
/// Duc @nvlduc']<br />
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_EXT_present_mode_fifo_latest_ready.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_EXT_present_mode_fifo_latest_ready.html
/// </a>
/// </summary>
[VkDepends("VK_KHR_swapchain")]
[VkDeviceExt]
public static class VkExtPresentModeFifoLatestReady
{
/// <summary> The spec version. </summary>
public const uint VK_EXT_PRESENT_MODE_FIFO_LATEST_READY_SPEC_VERSION = 1;

/// <summary> The extension name. </summary>
public const string VK_EXT_PRESENT_MODE_FIFO_LATEST_READY_EXTENSION_NAME = "VK_EXT_present_mode_fifo_latest_ready";

/// <summary>
/// An UTF8 null terminated version of <see cref="VK_EXT_PRESENT_MODE_FIFO_LATEST_READY_EXTENSION_NAME" />
/// represented by an UTF16 string.
/// </summary>
/// <remarks>
/// Example usage:<br />
/// <br />
/// fixed(char* ptr = VK_EXT_PRESENT_MODE_FIFO_LATEST_READY_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_PRESENT_MODE_FIFO_LATEST_READY_EXTENSION_NAME_UTF8_NT =
"\u4b56\u455f\u5458\u505f\u4552\u4553\u544e\u4d5f\u444f\u5f45\u4946\u4f46\u4c5f\u5441\u5345\u5f54\u4552\u4441\u5f59\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>
/// VkPhysicalDevicePresentModeFifoLatestReadyFeaturesEXT - Structure describing support for
/// VK_PRESENT_MODE_FIFO_LATEST_READY_EXT -
/// <a
/// href="https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDevicePresentModeFifoLatestReadyFeaturesEXT.html">
/// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPhysicalDevicePresentModeFifoLatestReadyFeaturesEXT.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 VkPhysicalDevicePresentModeFifoLatestReadyFeaturesEXT
{
/// <summary> The stype of this structure. </summary>
public const VkStructureType STYPE = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_MODE_FIFO_LATEST_READY_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>
/// presentModeFifoLatestReadyspecifies whether the implementation supports the
/// VK_PRESENT_MODE_FIFO_LATEST_READY_EXT present mode.
/// </summary>
public VkBool32 presentModeFifoLatestReady;
}
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,17 @@ public enum VkPresentModeKHR
/// presentation request, but this does not guarantee the timing of when it will be updated. This mode may result in
/// visible tearing if rendering to the image is not timed correctly.
/// </summary>
VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR = 1000111001
VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR = 1000111001,

/// <summary>
/// VK_PRESENT_MODE_FIFO_LATEST_READY_EXT specifies that the presentation engine waits for the next vertical
/// blanking period to update the current image. Tearing cannot be observed. An internal queue is used to hold pending
/// presentation requests. New requests are appended to the end of the queue. At each vertical blanking period, the
/// presentation engine dequeues all successive requests that are ready to be presented from the beginning of the
/// queue. If using VK_GOOGLE_display_timing to provide a target present time, the presentation engine will check the
/// specified time for each image. If the target present time is less-than or equal-to the current time, the
/// presentation engine will dequeue the image and check the next one. The image of the last dequeued request will be
/// presented. The other dequeued requests will be dropped.
/// </summary>
VK_PRESENT_MODE_FIFO_LATEST_READY_EXT = 1000361000
}
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ public struct VkSurfaceCapabilitiesKHR

/// <summary>
/// supportedUsageFlags is a bitmask of VkImageUsageFlagBitsrepresenting the ways the application can use the
/// presentable images of a swapchain created with VkPresentModeKHR set to VK_PRESENT_MODE_IMMEDIATE_KHR,
/// VK_PRESENT_MODE_MAILBOX_KHR, VK_PRESENT_MODE_FIFO_KHR or VK_PRESENT_MODE_FIFO_RELAXED_KHRfor the surface on the
/// specified device. VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT must be included in the set. Implementations may support
/// additional usages.
/// presentable images of a swapchain created with VkPresentModeKHR set to VK_PRESENT_MODE_FIFO_LATEST_READY_EXT,
/// VK_PRESENT_MODE_IMMEDIATE_KHR, VK_PRESENT_MODE_MAILBOX_KHR, VK_PRESENT_MODE_FIFO_KHR or
/// VK_PRESENT_MODE_FIFO_RELAXED_KHRfor the surface on the specified device. VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT must
/// be included in the set. Implementations may support additional usages.
/// </summary>
public VkImageUsageFlags supportedUsageFlags;
}

0 comments on commit ee5b499

Please sign in to comment.