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

fixed depth buffer requirements

parent d3a4d416
...@@ -80,7 +80,9 @@ namespace mirrage::graphic { ...@@ -80,7 +80,9 @@ 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"))
......
Supports Markdown
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