[GPU] Signedness in Cr_Y1_Cb_Y0_REP/Y1_Cr_Y0_Cb_REP comment [ci skip]

This commit is contained in:
Triang3l 2022-05-22 22:11:59 +03:00
parent ef808e9def
commit cf3069eb13
1 changed files with 5 additions and 4 deletions

View File

@ -412,10 +412,11 @@ enum class TextureFormat : uint32_t {
k_8_B = 9,
k_8_8 = 10,
// Though it's unknown what exactly REP means, likely it's "repeating
// fraction" (the term used for normalized fixed-point formats, UNORM here in
// particular - 0.0 to 1.0 range, like in Direct3D 10+, unlike the 0.0 to
// 255.0 range for D3DFMT_R8G8_B8G8 and D3DFMT_G8R8_G8B8 in Direct3D 9).
// 54540829 uses k_Y1_Cr_Y0_Cb_REP directly as UNORM.
// fraction" (the term used for normalized fixed-point formats, UNORM in
// particular for unsigned signedness - 0.0 to 1.0 range, like in
// Direct3D 10+, unlike the 0.0 to 255.0 range for D3DFMT_R8G8_B8G8 and
// D3DFMT_G8R8_G8B8 in Direct3D 9). 54540829 uses k_Y1_Cr_Y0_Cb_REP directly
// as UNORM.
k_Cr_Y1_Cb_Y0_REP = 11,
// Used for videos in 54540829.
k_Y1_Cr_Y0_Cb_REP = 12,