diff options
Diffstat (limited to 'Ryujinx.Graphics.Shader/Translation/FeatureFlags.cs')
-rw-r--r-- | Ryujinx.Graphics.Shader/Translation/FeatureFlags.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/Translation/FeatureFlags.cs b/Ryujinx.Graphics.Shader/Translation/FeatureFlags.cs new file mode 100644 index 00000000..9c65038a --- /dev/null +++ b/Ryujinx.Graphics.Shader/Translation/FeatureFlags.cs @@ -0,0 +1,18 @@ +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 + } +} |