|
|
|
|
@ -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<VkFormat> 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 |
|
|
|
|
}; |
|
|
|
|
|