diff options
| author | Filoppi <filippotarpini@hotmail.it> | 2023-06-18 12:40:59 +0300 |
|---|---|---|
| committer | Filoppi <filippotarpini@hotmail.it> | 2023-06-18 12:58:40 +0300 |
| commit | 0584f8ae2a4158d363703af87442ea326fcd798d (patch) | |
| tree | 94d224d010fb63e0b0e0e7ce49d42e9596756daf /Source | |
| parent | 99437508660bfa646eaab123e6ba9df6667ab1e5 (diff) | |
Video: fix Vulkan RGBA10_2 format to the actual most common one (used as swapchain format)
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/VKTexture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/VKTexture.cpp b/Source/Core/VideoBackends/Vulkan/VKTexture.cpp index 1f0b1ff0d2..f8923b4edc 100644 --- a/Source/Core/VideoBackends/Vulkan/VKTexture.cpp +++ b/Source/Core/VideoBackends/Vulkan/VKTexture.cpp @@ -190,7 +190,7 @@ VkFormat VKTexture::GetVkFormatForHostTextureFormat(AbstractTextureFormat format return VK_FORMAT_B8G8R8A8_UNORM; case AbstractTextureFormat::RGB10_A2: - return VK_FORMAT_A2R10G10B10_UNORM_PACK32; + return VK_FORMAT_A2B10G10R10_UNORM_PACK32; case AbstractTextureFormat::RGBA16F: return VK_FORMAT_R16G16B16A16_SFLOAT; |
