Initial work
This commit is contained in:
19
Ryujinx.Graphics.Gpu/State/VertexBufferState.cs
Normal file
19
Ryujinx.Graphics.Gpu/State/VertexBufferState.cs
Normal file
@ -0,0 +1,19 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user