1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-09-20 22:13:35 +01:00
Ryujinx/Ryujinx.Graphics.Shader/StructuredIr/AstTextureOperation.cs
gdkchan 2dcc6333f8
Fix image binding format (#1625)
* Fix image binding format

* XML doc
2020-10-20 19:03:20 -03:00

31 lines
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;
}
}
}