2020-07-07 04:41:07 +02: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 20:53:23 +01:00
|
|
|
|
ResScaleUnsupported = 1 << 0,
|
|
|
|
|
NeedsScaleValue = 1 << 1
|
2020-07-07 04:41:07 +02:00
|
|
|
|
}
|
|
|
|
|
}
|