1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-05 02:42:01 +00:00
Ryujinx/Ryujinx.Graphics.Shader/TextureUsageFlags.cs
riperiperi e1da7df207
Support res scale on images, correctly blacklist for SUST, move logic out of backend. (#1657)
* Support res scale on images, correctly blacklist for SUST, move logic
out of backend.

* Fix Typo
2020-11-02 16:53:23 -03:00

17 lines
383 B
C#

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
}
}