diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2021-05-19 18:15:26 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-19 23:15:26 +0200 |
| commit | 49745cfa37b247c3e49bfae126bafbe41e166bc6 (patch) | |
| tree | 1a37f2f2c23791244b22529f6e228f008f984409 /Ryujinx.Graphics.Shader/StructuredIr/AstTextureOperation.cs | |
| parent | b5c72b44dee2fd977d7cca5aa3c29ef1e2286aa7 (diff) | |
Move shader resource descriptor creation out of the backend (#2290)
* Move shader resource descriptor creation out of the backend
* Remove now unused code, and other nits
* Shader cache version bump
* Nits
* Set format for bindless image load/store
* Fix buffer write flag
Diffstat (limited to 'Ryujinx.Graphics.Shader/StructuredIr/AstTextureOperation.cs')
| -rw-r--r-- | Ryujinx.Graphics.Shader/StructuredIr/AstTextureOperation.cs | 35 |
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 |
