mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-25 19:02:45 -06:00
implement all BC pixel formats
This commit is contained in:
parent
86b1f41de6
commit
c5bb3d685d
1 changed files with 102 additions and 102 deletions
|
@ -48,15 +48,15 @@ constexpr std::array<PixelFormatInfo, VideoCore::Surface::MaxPixelFormat> FORMAT
|
||||||
{MTL::PixelFormatRG11B10Float, 4}, // B10G11R11_FLOAT TODO
|
{MTL::PixelFormatRG11B10Float, 4}, // B10G11R11_FLOAT TODO
|
||||||
{MTL::PixelFormatRGBA32Uint, 16}, // R32G32B32A32_UINT
|
{MTL::PixelFormatRGBA32Uint, 16}, // R32G32B32A32_UINT
|
||||||
{MTL::PixelFormatBC1_RGBA, 8, {4, 4}, false}, // BC1_RGBA_UNORM
|
{MTL::PixelFormatBC1_RGBA, 8, {4, 4}, false}, // BC1_RGBA_UNORM
|
||||||
{MTL::PixelFormatInvalid, 0}, // BC2_UNORM TODO
|
{MTL::PixelFormatBC2_RGBA, 16, {4, 4}, false}, // BC2_UNORM TODO
|
||||||
{MTL::PixelFormatInvalid, 0}, // BC3_UNORM TODO
|
{MTL::PixelFormatBC3_RGBA, 16, {4, 4}, false}, // BC3_UNORM TODO
|
||||||
{MTL::PixelFormatBC4_RUnorm, 8, {4, 4}, false}, // BC4_UNORM
|
{MTL::PixelFormatBC4_RUnorm, 8, {4, 4}, false}, // BC4_UNORM
|
||||||
{MTL::PixelFormatBC4_RSnorm, 0, {0, 0}, false}, // BC4_SNORM TODO
|
{MTL::PixelFormatBC4_RSnorm, 8, {4, 4}, false}, // BC4_SNORM TODO
|
||||||
{MTL::PixelFormatInvalid, 0}, // BC5_UNORM TODO
|
{MTL::PixelFormatBC5_RGUnorm, 16, {4, 4}, false}, // BC5_UNORM TODO
|
||||||
{MTL::PixelFormatInvalid, 0}, // BC5_SNORM TODO
|
{MTL::PixelFormatBC5_RGSnorm, 16, {4, 4}, false}, // BC5_SNORM TODO
|
||||||
{MTL::PixelFormatInvalid, 0}, // BC7_UNORM TODO
|
{MTL::PixelFormatBC7_RGBAUnorm, 16, {4, 4}, false}, // BC7_UNORM TODO
|
||||||
{MTL::PixelFormatInvalid, 0}, // BC6H_UFLOAT TODO
|
{MTL::PixelFormatBC6H_RGBUfloat, 16, {4, 4}, false}, // BC6H_UFLOAT TODO
|
||||||
{MTL::PixelFormatInvalid, 0}, // BC6H_SFLOAT TODO
|
{MTL::PixelFormatBC6H_RGBFloat, 16, {4, 4}, false}, // BC6H_SFLOAT TODO
|
||||||
{MTL::PixelFormatASTC_4x4_LDR, 0, {0, 0}, false}, // ASTC_2D_4X4_UNORM TODO
|
{MTL::PixelFormatASTC_4x4_LDR, 0, {0, 0}, false}, // ASTC_2D_4X4_UNORM TODO
|
||||||
{MTL::PixelFormatBGRA8Unorm, 4}, // B8G8R8A8_UNORM
|
{MTL::PixelFormatBGRA8Unorm, 4}, // B8G8R8A8_UNORM
|
||||||
{MTL::PixelFormatRGBA32Float, 16}, // R32G32B32A32_FLOAT
|
{MTL::PixelFormatRGBA32Float, 16}, // R32G32B32A32_FLOAT
|
||||||
|
@ -88,11 +88,11 @@ constexpr std::array<PixelFormatInfo, VideoCore::Surface::MaxPixelFormat> FORMAT
|
||||||
{MTL::PixelFormatASTC_8x5_LDR, 0, {0, 0}, false}, // ASTC_2D_8X5_UNORM TODO
|
{MTL::PixelFormatASTC_8x5_LDR, 0, {0, 0}, false}, // ASTC_2D_8X5_UNORM TODO
|
||||||
{MTL::PixelFormatASTC_5x4_LDR, 0, {0, 0}, false}, // ASTC_2D_5X4_UNORM TODO
|
{MTL::PixelFormatASTC_5x4_LDR, 0, {0, 0}, false}, // ASTC_2D_5X4_UNORM TODO
|
||||||
{MTL::PixelFormatBGRA8Unorm_sRGB, 0}, // B8G8R8A8_SRGB
|
{MTL::PixelFormatBGRA8Unorm_sRGB, 0}, // B8G8R8A8_SRGB
|
||||||
{MTL::PixelFormatBC1_RGBA_sRGB, 0, {0, 0}, false}, // BC1_RGBA_SRGB TODO
|
{MTL::PixelFormatBC1_RGBA_sRGB, 1, {4, 4}, false}, // BC1_RGBA_SRGB TODO
|
||||||
{MTL::PixelFormatInvalid, 0}, // BC2_SRGB TODO
|
{MTL::PixelFormatBC2_RGBA_sRGB, 16, {4, 4}, false}, // BC2_SRGB TODO
|
||||||
{MTL::PixelFormatInvalid, 0}, // BC3_SRGB TODO
|
{MTL::PixelFormatBC3_RGBA_sRGB, 16, {4, 4}, false}, // BC3_SRGB TODO
|
||||||
{MTL::PixelFormatBC7_RGBAUnorm_sRGB, 0, {0, 0}, false}, // BC7_SRGB TODO
|
{MTL::PixelFormatBC7_RGBAUnorm_sRGB, 16, {4, 4}, false}, // BC7_SRGB TODO
|
||||||
{MTL::PixelFormatABGR4Unorm, 0}, // A4B4G4R4_UNORM
|
{MTL::PixelFormatABGR4Unorm, 2}, // A4B4G4R4_UNORM
|
||||||
{MTL::PixelFormatRG8Unorm, 2}, // G4R4_UNORM TODO
|
{MTL::PixelFormatRG8Unorm, 2}, // G4R4_UNORM TODO
|
||||||
{MTL::PixelFormatASTC_4x4_sRGB, 16, {4, 4}, false}, // ASTC_2D_4X4_SRGB
|
{MTL::PixelFormatASTC_4x4_sRGB, 16, {4, 4}, false}, // ASTC_2D_4X4_SRGB
|
||||||
{MTL::PixelFormatASTC_8x8_sRGB, 0, {0, 0}, false}, // ASTC_2D_8X8_SRGB TODO
|
{MTL::PixelFormatASTC_8x8_sRGB, 0, {0, 0}, false}, // ASTC_2D_8X8_SRGB TODO
|
||||||
|
|
Loading…
Reference in a new issue