aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Shader/Translation/Transforms/ITransformPass.cs
blob: 0a109d1d2b9df90fb5177fc7f80d6cb59a3fb40a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
using Ryujinx.Graphics.Shader.IntermediateRepresentation;
using System.Collections.Generic;

namespace Ryujinx.Graphics.Shader.Translation.Transforms
{
    interface ITransformPass
    {
        abstract static bool IsEnabled(IGpuAccessor gpuAccessor, ShaderStage stage, TargetLanguage targetLanguage, FeatureFlags usedFeatures);
        abstract static LinkedListNode<INode> RunPass(TransformContext context, LinkedListNode<INode> node);
    }
}