mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-22 04:24:44 +00:00
undo promote eR8Unorm
This commit is contained in:
parent
7705790c6d
commit
5d3c321fbd
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ void EmitQuadToTriangleListIndices(u8* out_indices, u32 num_vertices);
|
|||
static inline vk::Format PromoteFormatToDepth(vk::Format fmt) {
|
||||
if (fmt == vk::Format::eR32Sfloat) {
|
||||
return vk::Format::eD32Sfloat;
|
||||
} else if (fmt == vk::Format::eR16Unorm || fmt == vk::Format::eR8Unorm) {
|
||||
} else if (fmt == vk::Format::eR16Unorm) {
|
||||
return vk::Format::eD16Unorm;
|
||||
}
|
||||
UNREACHABLE();
|
||||
|
|
Loading…
Add table
Reference in a new issue