mirror of
https://gitlab.freedesktop.org/mesa/vulkan-wsi-layer.git
synced 2025-12-20 06:50:08 +01:00
Remove to-do to check if FIFO is ok on Wayland
Although Mailbox mode is recommended for use on Wayland, FIFO is required by the Vulkan spec and after investigation our implementation seems to be compliant with the spec. Change-Id: Ib3230e31c4dd516bc40dc50c9e920fb145506145 Signed-off-by: Ben Davis <ben.davis@arm.com>
This commit is contained in:
parent
5b6fe3301f
commit
8236f8aaaa
1 changed files with 1 additions and 1 deletions
|
|
@ -226,7 +226,7 @@ VkResult surface_properties::get_surface_present_modes(VkPhysicalDevice physical
|
||||||
{
|
{
|
||||||
|
|
||||||
VkResult res = VK_SUCCESS;
|
VkResult res = VK_SUCCESS;
|
||||||
/* TODO: Check that FIFO is okay on Wayland */
|
|
||||||
static std::array<const VkPresentModeKHR, 2> modes = {
|
static std::array<const VkPresentModeKHR, 2> modes = {
|
||||||
VK_PRESENT_MODE_FIFO_KHR,
|
VK_PRESENT_MODE_FIFO_KHR,
|
||||||
VK_PRESENT_MODE_MAILBOX_KHR,
|
VK_PRESENT_MODE_MAILBOX_KHR,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue