mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-03-23 04:50:18 +00:00
38 lines
791 B
C#
38 lines
791 B
C#
|
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<byte>();
|
|||
|
GraphicsConfig.EnableTextureRecompression = false;
|
|||
|
|
|||
|
|
|||
|
AstcDecoder.TryDecodeToRgba8P()
|
|||
|
|
|||
|
AstcDecoder target = new AstcDecoder();
|
|||
|
}
|
|||
|
|
|||
|
private ReadOnlyMemory<byte> GetTestData();
|
|||
|
}
|
|||
|
}
|