aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Shader/Constants.cs
blob: 7f1445ed040806fa63d8361d8d3f917e9ec02849 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
    }
}