[GPU] Move k_Y1_Cr_Y0_Cb_REP usage example to xenos.h
This commit is contained in:
parent
7d63d6e1d3
commit
1dcc919a33
|
@ -133,7 +133,7 @@ const D3D12TextureCache::HostFormat D3D12TextureCache::host_formats_[64] = {
|
|||
DXGI_FORMAT_UNKNOWN, LoadMode::kUnknown, true, DXGI_FORMAT_UNKNOWN,
|
||||
LoadMode::kUnknown, xenos::XE_GPU_TEXTURE_SWIZZLE_BGRR},
|
||||
// k_Y1_Cr_Y0_Cb_REP
|
||||
// Used for videos in 54540829. Red and blue must be swapped.
|
||||
// Red and blue must be swapped.
|
||||
// TODO(Triang3l): D3DFMT_G8R8_G8B8 is DXGI_FORMAT_R8G8_B8G8_UNORM * 255.0f,
|
||||
// watch out for num_format int, division in shaders, etc., in 54540829 it
|
||||
// works as is. Also need to decompress if the size is uneven, but should be
|
||||
|
|
|
@ -412,6 +412,7 @@ enum class TextureFormat : uint32_t {
|
|||
k_8_B = 9,
|
||||
k_8_8 = 10,
|
||||
k_Cr_Y1_Cb_Y0_REP = 11,
|
||||
// Used for videos in 54540829.
|
||||
k_Y1_Cr_Y0_Cb_REP = 12,
|
||||
k_16_16_EDRAM = 13,
|
||||
k_8_8_8_8_A = 14,
|
||||
|
|
Loading…
Reference in New Issue