mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-10 13:41:42 +00:00
20 lines
373 B
C#
20 lines
373 B
C#
|
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;
|
||
|
}
|
||
|
}
|
||
|
}
|