Ryujinx/Ryujinx.Graphics.Texture/Bpp12Pixel.cs
riperiperi 8a7e25de71 Speed up buffer -> texture copies.
No longer copies byte by byte. Fast path when formats are identical.
2020-05-24 00:04:50 +01:00

12 lines
244 B
C#

using System.Runtime.InteropServices;
namespace Ryujinx.Graphics.Texture
{
[StructLayout(LayoutKind.Sequential, Pack = 1, Size = 12)]
public struct Bpp12Pixel
{
private ulong _elem1;
private uint _elem2;
}
}