diff options
author | gdkchan <gab.dark.100@gmail.com> | 2021-02-07 20:23:56 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-08 10:23:56 +1100 |
commit | 7016d95eb17ee572fd6fe373f2b4c05e4a576dd6 (patch) | |
tree | 5d2ed6580e394b73f46f0c11e7a254d94a71bf3f /Ryujinx.Graphics.Gpu/Image/FormatTable.cs | |
parent | 67033ed8e05eb70860ac6af2b83deab0256c11eb (diff) |
Implement ETC2 (RGB) texture format (#2000)
* Implement ETC2 format
* Fix component counts for compressed formats
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/FormatTable.cs')
-rw-r--r-- | Ryujinx.Graphics.Gpu/Image/FormatTable.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/FormatTable.cs b/Ryujinx.Graphics.Gpu/Image/FormatTable.cs index a1911d56..b4b88179 100644 --- a/Ryujinx.Graphics.Gpu/Image/FormatTable.cs +++ b/Ryujinx.Graphics.Gpu/Image/FormatTable.cs @@ -78,7 +78,9 @@ namespace Ryujinx.Graphics.Gpu.Image { 0xa4917, new FormatInfo(Format.Bc7Srgb, 4, 4, 16, 4) }, { 0x7ff90, new FormatInfo(Format.Bc6HSfloat, 4, 4, 16, 4) }, { 0x7ff91, new FormatInfo(Format.Bc6HUfloat, 4, 4, 16, 4) }, + { 0x24906, new FormatInfo(Format.Etc2RgbUnorm, 4, 4, 8, 3) }, { 0x2490b, new FormatInfo(Format.Etc2RgbaUnorm, 4, 4, 16, 4) }, + { 0xa4906, new FormatInfo(Format.Etc2RgbSrgb, 4, 4, 8, 3) }, { 0xa490b, new FormatInfo(Format.Etc2RgbaSrgb, 4, 4, 16, 4) }, { 0x24940, new FormatInfo(Format.Astc4x4Unorm, 4, 4, 16, 4) }, { 0x24950, new FormatInfo(Format.Astc5x4Unorm, 5, 4, 16, 4) }, |