2020-07-06 22:41:07 -04:00
|
|
|
|
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.
|
2020-11-02 14:53:23 -05:00
|
|
|
|
ResScaleUnsupported = 1 << 0,
|
2021-03-08 16:43:39 -05:00
|
|
|
|
NeedsScaleValue = 1 << 1,
|
|
|
|
|
ImageStore = 1 << 2
|
2020-07-06 22:41:07 -04:00
|
|
|
|
}
|
|
|
|
|
}
|