Skip to content

Commit

Permalink
Fix SurfaceFormat Format4_4_4_4 (#2193)
Browse files Browse the repository at this point in the history
* Fix SurfaceFormat Format4_4_4_4

Pac-Man 256

* add_extension
  • Loading branch information
DanielSvoboda authored Jan 19, 2025
1 parent 201f281 commit 80092b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/video_core/renderer_vulkan/liverpool_to_vk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ std::span<const SurfaceFormatInfo> SurfaceFormats() {
vk::Format::eR5G5B5A1UnormPack16),
// 4_4_4_4
CreateSurfaceFormatInfo(AmdGpu::DataFormat::Format4_4_4_4, AmdGpu::NumberFormat::Unorm,
vk::Format::eR4G4B4A4UnormPack16),
vk::Format::eA4B4G4R4UnormPack16),
// 8_24
// 24_8
// X24_8_32
Expand Down
1 change: 1 addition & 0 deletions src/video_core/renderer_vulkan/vk_instance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ bool Instance::CreateDevice() {
add_extension(VK_EXT_SHADER_DEMOTE_TO_HELPER_INVOCATION_EXTENSION_NAME);
add_extension(VK_KHR_SYNCHRONIZATION_2_EXTENSION_NAME);
add_extension(VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME);
add_extension(VK_EXT_4444_FORMATS_EXTENSION_NAME);

#ifdef __APPLE__
// Required by Vulkan spec if supported.
Expand Down

0 comments on commit 80092b6

Please sign in to comment.