mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-02 22:28:45 +00:00
Update liverpool_to_vk.h
This commit is contained in:
parent
beb809b612
commit
9c06852c89
1 changed files with 2 additions and 0 deletions
|
@ -61,6 +61,8 @@ static inline vk::Format PromoteFormatToDepth(vk::Format fmt) {
|
||||||
return vk::Format::eD32Sfloat;
|
return vk::Format::eD32Sfloat;
|
||||||
} else if (fmt == vk::Format::eR16Unorm) {
|
} else if (fmt == vk::Format::eR16Unorm) {
|
||||||
return vk::Format::eD16Unorm;
|
return vk::Format::eD16Unorm;
|
||||||
|
} else if (fmt == vk::Format::eR8G8B8A8Unorm) {
|
||||||
|
return fmt;
|
||||||
}
|
}
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue