[GPU] CrYCb/YCrCb border colors

This commit is contained in:
Triang3l
2022-06-26 18:56:50 +03:00
parent 2606fa5709
commit ec008463b6
2 changed files with 37 additions and 15 deletions

View File

@@ -130,10 +130,17 @@ enum class AnisoFilter : uint32_t {
};
enum class BorderColor : uint32_t {
k_AGBR_Black = 0,
k_AGBR_White = 1,
k_ACBYCR_BLACK = 2,
k_ACBCRY_BLACK = 3,
// (0.0, 0.0, 0.0)
// TODO(Triang3l): Is the alpha 0 or 1?
k_ABGR_Black = 0,
// (1.0, 1.0, 1.0, 1.0)
k_ABGR_White = 1,
// Unknown precisely, but likely (0.5, 0.0, 0.5) for unsigned (Cr, Y, Cb)
// TODO(Triang3l): Real hardware border color, and is the alpha 0 or 1?
k_ACBYCR_Black = 2,
// Unknown precisely, but likely (0.0, 0.5, 0.5) for unsigned (Y, Cr, Cb)
// TODO(Triang3l): Real hardware border color, and is the alpha 0 or 1?
k_ACBCRY_Black = 3,
};
// For the tfetch instruction (not the fetch constant) and related instructions,