Commit ace0c9b9 authored by Florian Oetke's avatar Florian Oetke
Browse files

Revert "fixed depth buffer requirements"

This reverts commit fda669b5.
parent fda669b5
Pipeline #2628 passed with stage
in 11 minutes and 58 seconds
...@@ -80,9 +80,7 @@ namespace mirrage::graphic { ...@@ -80,9 +80,7 @@ namespace mirrage::graphic {
vk::Format::eD32Sfloat, vk::Format::eD32Sfloat,
vk::Format::eD16Unorm, vk::Format::eD16Unorm,
vk::Format::eD16UnormS8Uint}, vk::Format::eD16UnormS8Uint},
vk::FormatFeatureFlagBits::eDepthStencilAttachment vk::FormatFeatureFlagBits::eDepthStencilAttachment,
| vk::FormatFeatureFlagBits::eBlitDst
| vk::FormatFeatureFlagBits::eBlitSrc,
Format_usage::image_optimal) Format_usage::image_optimal)
.get_or_throw("No depth format supported" .get_or_throw("No depth format supported"
" by device")) " by device"))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment