mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 13:48:40 +00:00
Fix SurfaceFormat Format1_5_5_5 - Format5_5_5_1 (#2191)
* Fix SurfaceFormat Format1_5_5_5 - again * Fix Format5_5_5_1
This commit is contained in:
@@ -612,8 +612,10 @@ std::span<const SurfaceFormatInfo> SurfaceFormats() {
|
||||
vk::Format::eB5G6R5UnormPack16),
|
||||
// 1_5_5_5
|
||||
CreateSurfaceFormatInfo(AmdGpu::DataFormat::Format1_5_5_5, AmdGpu::NumberFormat::Unorm,
|
||||
vk::Format::eA1B5G5R5UnormPack16),
|
||||
// 5_5_5_1 - Remapped to 1_5_5_5.
|
||||
vk::Format::eA1R5G5B5UnormPack16),
|
||||
// 5_5_5_1
|
||||
CreateSurfaceFormatInfo(AmdGpu::DataFormat::Format5_5_5_1, AmdGpu::NumberFormat::Unorm,
|
||||
vk::Format::eR5G5B5A1UnormPack16),
|
||||
// 4_4_4_4
|
||||
CreateSurfaceFormatInfo(AmdGpu::DataFormat::Format4_4_4_4, AmdGpu::NumberFormat::Unorm,
|
||||
vk::Format::eR4G4B4A4UnormPack16),
|
||||
|
||||
Reference in New Issue
Block a user