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,
|
2021-03-08 22:43:39 +01:00
|
|
|
|
NeedsScaleValue = 1 << 1,
|
2021-10-29 00:53:12 +02:00
|
|
|
|
ImageStore = 1 << 2,
|
2023-06-28 08:59:13 +02:00
|
|
|
|
ImageCoherent = 1 << 3,
|
2020-07-07 04:41:07 +02:00
|
|
|
|
}
|
|
|
|
|
}
|