8a7e25de71
No longer copies byte by byte. Fast path when formats are identical.
11 lines
244 B
C#
11 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;
|
|
}
|
|
}
|