diff options
| author | gdk <gab.dark.100@gmail.com> | 2019-10-17 23:41:18 -0300 |
|---|---|---|
| committer | Thog <thog@protonmail.com> | 2020-01-09 02:13:00 +0100 |
| commit | 1b7d95519569639135a68e7ebda5148f3263217c (patch) | |
| tree | 52a5e471418bf28ce970a268e1b86b64abc9048f /Ryujinx.Graphics.Shader/TextureDescriptor.cs | |
| parent | 717ace6f6ed65118148dc78976c6e818a095fa4d (diff) | |
Initial support for image stores, support texture sample on compute
Diffstat (limited to 'Ryujinx.Graphics.Shader/TextureDescriptor.cs')
| -rw-r--r-- | Ryujinx.Graphics.Shader/TextureDescriptor.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Ryujinx.Graphics.Shader/TextureDescriptor.cs b/Ryujinx.Graphics.Shader/TextureDescriptor.cs index 484fa1bc..bfcdde59 100644 --- a/Ryujinx.Graphics.Shader/TextureDescriptor.cs +++ b/Ryujinx.Graphics.Shader/TextureDescriptor.cs @@ -4,7 +4,7 @@ namespace Ryujinx.Graphics.Shader { public string Name { get; } - public TextureTarget Target { get; } + public SamplerType Type { get; } public int HandleIndex { get; } @@ -13,10 +13,10 @@ namespace Ryujinx.Graphics.Shader public int CbufSlot { get; } public int CbufOffset { get; } - public TextureDescriptor(string name, TextureTarget target, int hIndex) + public TextureDescriptor(string name, SamplerType type, int hIndex) { Name = name; - Target = target; + Type = type; HandleIndex = hIndex; IsBindless = false; @@ -25,10 +25,10 @@ namespace Ryujinx.Graphics.Shader CbufOffset = 0; } - public TextureDescriptor(string name, TextureTarget target, int cbufSlot, int cbufOffset) + public TextureDescriptor(string name, SamplerType type, int cbufSlot, int cbufOffset) { Name = name; - Target = target; + Type = type; HandleIndex = 0; IsBindless = true; |
