When using high-DPI settings I noticed that the VkSurfaceCapabilitiesKHR currentExtent, minImageExtent and maxImageExtent are sometimes a pixel less in their dimensions than the computed value of Qt using AA_EnableHighDpiScaling ( QWindow::size() * QWindow::devicePixelRatio() ).
If I use Windows’ SetProcessDPIAware() instead then the dimensions seem to be fine.
=> scaled width = 448
but currentExtent.width = 447
Why is Vk rounding down ? Is there a way to get the dpi scaling factor Vk is using ?
Best Regards, Megamouse