aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/StructuredIr/AstTextureOperation.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Shader/StructuredIr/AstTextureOperation.cs')
-rw-r--r--Ryujinx.Graphics.Shader/StructuredIr/AstTextureOperation.cs35
1 files changed, 16 insertions, 19 deletions
diff --git a/Ryujinx.Graphics.Shader/StructuredIr/AstTextureOperation.cs b/Ryujinx.Graphics.Shader/StructuredIr/AstTextureOperation.cs
index cdb97488..7d1d0ae3 100644
--- a/Ryujinx.Graphics.Shader/StructuredIr/AstTextureOperation.cs
+++ b/Ryujinx.Graphics.Shader/StructuredIr/AstTextureOperation.cs
@@ -4,31 +4,28 @@ namespace Ryujinx.Graphics.Shader.StructuredIr
{
class AstTextureOperation : AstOperation
{
- public SamplerType Type { get; }
+ public SamplerType Type { get; }
public TextureFormat Format { get; }
- public TextureFlags Flags { get; }
+ public TextureFlags Flags { get; }
- public int CbufSlot { get; }
- public int Handle { get; }
- public int ArraySize { get; }
+ public int CbufSlot { get; }
+ public int Handle { get; }
public AstTextureOperation(
- Instruction inst,
- SamplerType type,
- TextureFormat format,
- TextureFlags flags,
- int cbufSlot,
- int handle,
- int arraySize,
- int index,
+ Instruction inst,
+ SamplerType type,
+ TextureFormat format,
+ TextureFlags flags,
+ int cbufSlot,
+ int handle,
+ int index,
params IAstNode[] sources) : base(inst, index, sources, sources.Length)
{
- Type = type;
- Format = format;
- Flags = flags;
- CbufSlot = cbufSlot;
- Handle = handle;
- ArraySize = arraySize;
+ Type = type;
+ Format = format;
+ Flags = flags;
+ CbufSlot = cbufSlot;
+ Handle = handle;
}
}
} \ No newline at end of file