#VK_PRESENT_MODE_FIFO_LATEST_READY_EXT

10 messages · Page 1 of 1 (latest)

echo birch
#

Hello everybody,

calling "vkGetPhysicalDeviceSurfacePresentModesKHR"
returns "VK_PRESENT_MODE_FIFO_LATEST_READY_EXT", while i
did't enable "VK_EXT_present_mode_fifo_latest_ready".

This behavior changed recently (can't exactly say when, maybe the last 2-3 weeks).

Is it intended that "VK_PRESENT_MODE_FIFO_LATEST_READY_EXT" can be returned, even if the extension is not enabled?

I am using:
Vulkan Instance Version: 1.4.303

Thanks for your help.

spare spear
#

This sounds like questionable driver behavior to me, but why does this concern you?

echo birch
#

Because i was mapping the queried PresentMode to an internal type of my own, but just caught a unhandled case all of the sudden

dark verge
#

VK_EXT_present_mode_fifo_latest_ready is a device extension. vkGetPhysicalDeviceSurfacePresentModesKHR takes a VkPhysicalDevice, not a VkDevice. There is no way for the driver to 'know' which extensions you are going to enable before you create a VkDevice

echo birch
#

Then it seems my NVIDIA driver changed their behavior all of the sudden?

dark verge
#

what behavior did the nvidia driver change?

echo birch
#

That it returns VK_PRESENT_MODE_FIFO_LATEST_READY_EXT...I came back to my project after 2-3 weeks (it was working fine before) and then i suddenly got a crash, because i didn't handle this PresentMode (it didn't return it previously)

dark verge
#

well, its allowed to return that type from vkGetPhysicalDeviceSurfacePresentModesKHR. Its a supported present mode after all

echo birch
#

yes, seems like i overlooked that 😄 thanks for your help, learned something again