Add notes about precision of YUV->RGB conversion factors for XFB

This commit is contained in:
Pokechu22
2022-02-22 20:42:23 -08:00
parent 2f43889141
commit a6e06f38ad
2 changed files with 6 additions and 0 deletions

View File

@ -968,6 +968,8 @@ static const std::map<TextureFormat, DecodingShaderInfo> s_decoding_shader_info{
// We do the inverse BT.601 conversion for YCbCr to RGB
// http://www.equasys.de/colorconversion.html#YCbCr-RGBColorFormatConversion
// TODO: Use more precise numbers for this conversion (although on real hardware, the XFB isn't
// in a real texture format, so does this conversion actually ever happen?)
{TextureFormat::XFB,
{TEXEL_BUFFER_FORMAT_RGBA8_UINT, 0, 8, 8, false,
R"(