aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/TextureUsageFlags.cs
blob: 1f02430987217c4c9c2dbb433071b517157f105d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
    }
}