mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Add notes about precision of YUV->RGB conversion factors for XFB
This commit is contained in:
parent
2f43889141
commit
a6e06f38ad
2 changed files with 6 additions and 0 deletions
|
@ -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"(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue