diff --git a/src/Magnum/Vk/PhysicalDevice.cpp b/src/Magnum/Vk/PhysicalDevice.cpp index ee139373c..66beafa5a 100644 --- a/src/Magnum/Vk/PhysicalDevice.cpp +++ b/src/Magnum/Vk/PhysicalDevice.cpp @@ -41,9 +41,9 @@ VkFormat PhysicalDevice::getSupportedDepthFormat() { // Since all depth formats may be optional, we need to find a suitable depth format to use // Start with the highest precision packed format std::vector depthFormats = { + VK_FORMAT_D24_UNORM_S8_UINT, VK_FORMAT_D32_SFLOAT_S8_UINT, VK_FORMAT_D32_SFLOAT, - VK_FORMAT_D24_UNORM_S8_UINT, VK_FORMAT_D16_UNORM_S8_UINT, VK_FORMAT_D16_UNORM };