Fix for D16Unorm Tiled image (#1863)

This commit is contained in:
¥IGA authored and GitHub committed 2024-12-25 16:06:12 +02:00
1 parent 3c111202e1
commit 3ab118837a
1 file changed
+1
@@ -32,6 +32,7 @@ static vk::Format DemoteImageFormatForDetiling(vk::Format format) {
case vk::Format::eR8G8Unorm:
case vk::Format::eR16Sfloat:
case vk::Format::eR16Unorm:
case vk::Format::eD16Unorm:
return vk::Format::eR8G8Uint;
case vk::Format::eR8G8B8A8Srgb:
case vk::Format::eB8G8R8A8Srgb: