aboutsummaryrefslogblamecommitdiff
path: root/Ryujinx.Graphics.Shader/Translation/FeatureFlags.cs
blob: d2b53f84d281994e7833d9c866384740a116eba4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15













                                                                                                 

                                 
     
using System;

namespace Ryujinx.Graphics.Shader.Translation
{
    /// <summary>
    /// Features used by the shader that are important for the code generator to know in advance.
    /// These typically change the declarations in the shader header.
    /// </summary>
    [Flags]
    public enum FeatureFlags
    {
        None = 0,

        // Affected by resolution scaling.
        FragCoordXY     = 1 << 1,
        IntegerSampling = 1 << 0,

        Bindless        = 1 << 2,
    }
}