/ src / Ryujinx.Graphics.Shader / Constants.cs
Constants.cs
 1  namespace Ryujinx.Graphics.Shader
 2  {
 3      static class Constants
 4      {
 5          public const int ConstantBufferSize = 0x10000; // In bytes
 6  
 7          public const int MaxAttributes = 16;
 8          public const int AllAttributesMask = (int)(uint.MaxValue >> (32 - MaxAttributes));
 9  
10          public const int NvnBaseVertexByteOffset = 0x640;
11          public const int NvnBaseInstanceByteOffset = 0x644;
12          public const int NvnDrawIndexByteOffset = 0x648;
13      }
14  }