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