mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-29 14:53:18 +00:00
Fix SurfaceFormat Format4_4_4_4 (#2193)
* Fix SurfaceFormat Format4_4_4_4 Pac-Man 256 * add_extension
This commit is contained in:
parent
201f2817ca
commit
80092b6367
2 changed files with 2 additions and 1 deletions
|
@ -618,7 +618,7 @@ std::span<const SurfaceFormatInfo> SurfaceFormats() {
|
||||||
vk::Format::eR5G5B5A1UnormPack16),
|
vk::Format::eR5G5B5A1UnormPack16),
|
||||||
// 4_4_4_4
|
// 4_4_4_4
|
||||||
CreateSurfaceFormatInfo(AmdGpu::DataFormat::Format4_4_4_4, AmdGpu::NumberFormat::Unorm,
|
CreateSurfaceFormatInfo(AmdGpu::DataFormat::Format4_4_4_4, AmdGpu::NumberFormat::Unorm,
|
||||||
vk::Format::eR4G4B4A4UnormPack16),
|
vk::Format::eA4B4G4R4UnormPack16),
|
||||||
// 8_24
|
// 8_24
|
||||||
// 24_8
|
// 24_8
|
||||||
// X24_8_32
|
// X24_8_32
|
||||||
|
|
|
@ -283,6 +283,7 @@ bool Instance::CreateDevice() {
|
||||||
add_extension(VK_EXT_SHADER_DEMOTE_TO_HELPER_INVOCATION_EXTENSION_NAME);
|
add_extension(VK_EXT_SHADER_DEMOTE_TO_HELPER_INVOCATION_EXTENSION_NAME);
|
||||||
add_extension(VK_KHR_SYNCHRONIZATION_2_EXTENSION_NAME);
|
add_extension(VK_KHR_SYNCHRONIZATION_2_EXTENSION_NAME);
|
||||||
add_extension(VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME);
|
add_extension(VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME);
|
||||||
|
add_extension(VK_EXT_4444_FORMATS_EXTENSION_NAME);
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
// Required by Vulkan spec if supported.
|
// Required by Vulkan spec if supported.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue