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,
|
|
|
|
|
NeedsScaleValue = 1 << 1
|
2020-07-07 02:41:07 +00:00
|
|
|
|
}
|
|
|
|
|
}
|