2020-07-07 02:41:07 +00: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 19:53:23 +00:00
|
|
|
|
ResScaleUnsupported = 1 << 0,
|
2021-03-08 21:43:39 +00:00
|
|
|
|
NeedsScaleValue = 1 << 1,
|
|
|
|
|
ImageStore = 1 << 2
|
2020-07-07 02:41:07 +00:00
|
|
|
|
}
|
|
|
|
|
}
|