From fa845fa5c0acbc1d2422ecdd81903a2d7c8fccd5 Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Tue, 24 Nov 2015 22:49:12 +0100 Subject: [PATCH] d3d12: Add support for F_X32 surface format --- rpcs3/Emu/RSX/D3D12/D3D12Formats.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcs3/Emu/RSX/D3D12/D3D12Formats.cpp b/rpcs3/Emu/RSX/D3D12/D3D12Formats.cpp index 87d9a04e44..2e2fb0f0b1 100644 --- a/rpcs3/Emu/RSX/D3D12/D3D12Formats.cpp +++ b/rpcs3/Emu/RSX/D3D12/D3D12Formats.cpp @@ -328,6 +328,7 @@ DXGI_FORMAT get_color_surface_format(u8 format) noexcept { case CELL_GCM_SURFACE_A8R8G8B8: return DXGI_FORMAT_R8G8B8A8_UNORM; case CELL_GCM_SURFACE_F_W16Z16Y16X16: return DXGI_FORMAT_R16G16B16A16_FLOAT; + case CELL_GCM_SURFACE_F_X32: return DXGI_FORMAT_R32_FLOAT; } unreachable("Wrong color surface format"); }