0
0
Fork 0
This repository has been archived on 2024-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
ryujinx-final/Ryujinx.Graphics.Gpu/State/VertexAttribState.cs

23 lines
424 B
C#
Raw Normal View History

2019-10-13 06:02:07 +00:00
namespace Ryujinx.Graphics.Gpu.State
{
struct VertexAttribState
{
public uint Attribute;
public int UnpackBufferIndex()
{
return (int)(Attribute & 0x1f);
}
public int UnpackOffset()
{
return (int)((Attribute >> 7) & 0x3fff);
}
public uint UnpackFormat()
{
return Attribute & 0x3fe00000;
}
}
}