mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-08 14:08:51 +02:00
Initial work
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user