Vulkan notes
This is my random vulkan notes. I don’t know why you’re here :).
(Nvidia Ampere 535.104)
Fences and command buffers
vkGetFenceStatus is slow with validation layers. It can take 0.05 - 0.3ms when used on same frame.
Probably want to wait a couple of frames before using it, if possible.
Doesn’t show up on release builds.
vkFreeCommandBuffers is slowish with validation layers. It can take 0.005-0.5 ms.
Probably want to reuse command buffers.
Doesn’t show up on release builds.
vkDestroyFence takes 0.015-0.1ms
Even when on release build
The OS thread seems to wait on IOCTL to the device