diff --git a/src/Ryujinx.Tests/Graphics/AstcDecoderTests.cs b/src/Ryujinx.Tests/Graphics/AstcDecoderTests.cs new file mode 100644 index 000000000..d8bb6847a --- /dev/null +++ b/src/Ryujinx.Tests/Graphics/AstcDecoderTests.cs @@ -0,0 +1,37 @@ +using NUnit.Framework; +using Ryujinx.Graphics.Gpu; +using Ryujinx.Graphics.Texture.Astc; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Ryujinx.Tests.Graphics +{ + public class AstcDecoderTests + { + private const int ASTCBlockSize; + + [SetUp] + public void SetupFixture() + { + + } + + [Test] + public void _Test() + { + var inputData = GetTestData(); + var outputBuffer = new Memory(); + GraphicsConfig.EnableTextureRecompression = false; + + + AstcDecoder.TryDecodeToRgba8P() + + AstcDecoder target = new AstcDecoder(); + } + + private ReadOnlyMemory GetTestData(); + } +} diff --git a/src/Ryujinx.Tests/Graphics/TestData/kodim01.l.4x4.astc b/src/Ryujinx.Tests/Graphics/TestData/kodim01.l.4x4.astc new file mode 100644 index 000000000..a8605bfba Binary files /dev/null and b/src/Ryujinx.Tests/Graphics/TestData/kodim01.l.4x4.astc differ diff --git a/src/Ryujinx.Tests/Graphics/TestData/kodim01.l.4x4.astc.png b/src/Ryujinx.Tests/Graphics/TestData/kodim01.l.4x4.astc.png new file mode 100644 index 000000000..112d2893e Binary files /dev/null and b/src/Ryujinx.Tests/Graphics/TestData/kodim01.l.4x4.astc.png differ diff --git a/src/Ryujinx.Tests/Graphics/TestData/kodim01.png b/src/Ryujinx.Tests/Graphics/TestData/kodim01.png new file mode 100644 index 000000000..14317f030 Binary files /dev/null and b/src/Ryujinx.Tests/Graphics/TestData/kodim01.png differ