mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-21 07:59:58 -04:00
Import the base tree (MIT, see LICENSE)
This commit is contained in:
14
tools/vendor/ryujinx/src/Ryujinx.Graphics.Shader/Constants.cs
vendored
Normal file
14
tools/vendor/ryujinx/src/Ryujinx.Graphics.Shader/Constants.cs
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace Ryujinx.Graphics.Shader
|
||||
{
|
||||
static class Constants
|
||||
{
|
||||
public const int ConstantBufferSize = 0x10000; // In bytes
|
||||
|
||||
public const int MaxAttributes = 16;
|
||||
public const int AllAttributesMask = (int)(uint.MaxValue >> (32 - MaxAttributes));
|
||||
|
||||
public const int NvnBaseVertexByteOffset = 0x640;
|
||||
public const int NvnBaseInstanceByteOffset = 0x644;
|
||||
public const int NvnDrawIndexByteOffset = 0x648;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user