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/VertexBufferState.cs

20 lines
373 B
C#
Raw Normal View History

2019-10-13 06:02:07 +00:00
namespace Ryujinx.Graphics.Gpu.State
{
struct VertexBufferState
{
public uint Control;
public GpuVa Address;
public int Divisor;
public int UnpackStride()
{
return (int)(Control & 0xfff);
}
public bool UnpackEnable()
{
return (Control & (1 << 12)) != 0;
}
}
}