Fix for R8Snorm Tiled image

This commit is contained in:
¥IGA 2024-12-26 18:21:24 +01:00 committed by GitHub
parent 1f4bfc7902
commit 1ad8b65a1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,6 +25,7 @@ static vk::Format DemoteImageFormatForDetiling(vk::Format format) {
switch (format) {
case vk::Format::eR8Uint:
case vk::Format::eR8Unorm:
case vk::Format::eR8Snorm:
return vk::Format::eR8Uint;
case vk::Format::eR4G4B4A4UnormPack16:
case vk::Format::eB5G6R5UnormPack16: