From cf3069eb136940d65de9f203c340c63fb91b01e6 Mon Sep 17 00:00:00 2001 From: Triang3l Date: Sun, 22 May 2022 22:11:59 +0300 Subject: [PATCH] [GPU] Signedness in Cr_Y1_Cb_Y0_REP/Y1_Cr_Y0_Cb_REP comment [ci skip] --- src/xenia/gpu/xenos.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/xenia/gpu/xenos.h b/src/xenia/gpu/xenos.h index 95c4873c6..87dbe2b59 100644 --- a/src/xenia/gpu/xenos.h +++ b/src/xenia/gpu/xenos.h @@ -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,