mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-15 22:53:47 +00:00
d3d12: Add support for F_X32 surface format
This commit is contained in:
parent
579096c6a8
commit
fa845fa5c0
@ -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_A8R8G8B8: return DXGI_FORMAT_R8G8B8A8_UNORM;
|
||||||
case CELL_GCM_SURFACE_F_W16Z16Y16X16: return DXGI_FORMAT_R16G16B16A16_FLOAT;
|
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");
|
unreachable("Wrong color surface format");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user