d3d12: Add support for F_X32 surface format

This commit is contained in:
Vincent Lejeune 2015-11-24 22:49:12 +01:00
parent 579096c6a8
commit fa845fa5c0

View File

@ -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");
}