mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-07 09:52:47 +00:00
Adding R8G8B8A8Srgb
This commit is contained in:
parent
e7c5d3ba86
commit
4bae39f0c8
@ -78,6 +78,8 @@ static inline vk::Format PromoteFormatToDepth(vk::Format fmt) {
|
|||||||
return vk::Format::eD16Unorm;
|
return vk::Format::eD16Unorm;
|
||||||
} else if (fmt == vk::Format::eR8G8B8A8Unorm) {
|
} else if (fmt == vk::Format::eR8G8B8A8Unorm) {
|
||||||
return vk::Format::eR32Uint;
|
return vk::Format::eR32Uint;
|
||||||
|
} else if (fmt == vk::Format::eR8G8B8A8Srgb) {
|
||||||
|
return vk::Format::eR32Uint;
|
||||||
}
|
}
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user