diff options
Diffstat (limited to 'src/Ryujinx.Graphics.Shader/TextureUsageFlags.cs')
-rw-r--r-- | src/Ryujinx.Graphics.Shader/TextureUsageFlags.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Ryujinx.Graphics.Shader/TextureUsageFlags.cs b/src/Ryujinx.Graphics.Shader/TextureUsageFlags.cs new file mode 100644 index 00000000..2419a1de --- /dev/null +++ b/src/Ryujinx.Graphics.Shader/TextureUsageFlags.cs @@ -0,0 +1,19 @@ +using System; + +namespace Ryujinx.Graphics.Shader +{ + /// <summary> + /// Flags that indicate how a texture will be used in a shader. + /// </summary> + [Flags] + public enum TextureUsageFlags + { + None = 0, + + // Integer sampled textures must be noted for resolution scaling. + ResScaleUnsupported = 1 << 0, + NeedsScaleValue = 1 << 1, + ImageStore = 1 << 2, + ImageCoherent = 1 << 3 + } +} |