[Vulkan] Use VK_FORMAT_A2B10G10R10 for xenos::ColorRenderTargetFormat::k_2_10_10_10
Aligns with D3D12's DXGI_FORMAT_R10G10B10A2_UNORM
This commit is contained in:
@@ -1720,7 +1720,7 @@ VkFormat VulkanRenderTargetCache::GetColorVulkanFormat(
|
||||
: VK_FORMAT_R8G8B8A8_UNORM;
|
||||
case xenos::ColorRenderTargetFormat::k_2_10_10_10:
|
||||
case xenos::ColorRenderTargetFormat::k_2_10_10_10_AS_10_10_10_10:
|
||||
return VK_FORMAT_A8B8G8R8_UNORM_PACK32;
|
||||
return VK_FORMAT_A2B10G10R10_UNORM_PACK32;
|
||||
case xenos::ColorRenderTargetFormat::k_2_10_10_10_FLOAT:
|
||||
case xenos::ColorRenderTargetFormat::k_2_10_10_10_FLOAT_AS_16_16_16_16:
|
||||
return VK_FORMAT_R16G16B16A16_SFLOAT;
|
||||
|
||||
Reference in New Issue
Block a user