Ryujinx/Ryujinx.Graphics.Shader/StructuredIr/AstTextureOperation.cs
gdkchan 03711dd7b5
Implement SULD shader instruction (#1117)
* Implement SULD shader instruction

* Some nits
2020-04-22 09:35:28 +10:00

31 lines
No EOL
926 B
C#

using Ryujinx.Graphics.Shader.IntermediateRepresentation;
namespace Ryujinx.Graphics.Shader.StructuredIr
{
class AstTextureOperation : AstOperation
{
public SamplerType Type { get; }
public TextureFormat Format { get; }
public TextureFlags Flags { get; }
public int Handle { get; }
public int ArraySize { get; }
public AstTextureOperation(
Instruction inst,
SamplerType type,
TextureFormat format,
TextureFlags flags,
int handle,
int arraySize,
int index,
params IAstNode[] sources) : base(inst, index, sources)
{
Type = type;
Format = format;
Flags = flags;
Handle = handle;
ArraySize = arraySize;
}
}
}