mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-14 03:06:39 +00:00
99445dd0a6
* Support coherent images * Add support for fragment shader interlock * Change to tree based match approach * Refactor + check for branch targets and external registers * Make detection more robust * Use Intel fragment shader ordering if interlock is not available, use nothing if both are not available * Remove unused field
19 lines
444 B
C#
19 lines
444 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,
|
|
ImageStore = 1 << 2,
|
|
ImageCoherent = 1 << 3
|
|
}
|
|
}
|