Fix for R4G4B4A4UnormPack16 Tiled image (#1738)

This commit is contained in:
¥IGA 2024-12-11 15:07:33 +01:00 committed by GitHub
parent 8f75b658aa
commit 43313d4d3a

View file

@ -174,6 +174,7 @@ vk::Format DemoteImageFormatForDetiling(vk::Format format) {
switch (format) {
case vk::Format::eR8Unorm:
return vk::Format::eR8Uint;
case vk::Format::eR4G4B4A4UnormPack16:
case vk::Format::eR8G8Unorm:
case vk::Format::eR16Sfloat:
case vk::Format::eR16Unorm: