diff options
Diffstat (limited to 'Ryujinx.Graphics.Shader/TextureDescriptor.cs')
| -rw-r--r-- | Ryujinx.Graphics.Shader/TextureDescriptor.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/TextureDescriptor.cs b/Ryujinx.Graphics.Shader/TextureDescriptor.cs index fae9b58c..a9900fb8 100644 --- a/Ryujinx.Graphics.Shader/TextureDescriptor.cs +++ b/Ryujinx.Graphics.Shader/TextureDescriptor.cs @@ -13,6 +13,8 @@ namespace Ryujinx.Graphics.Shader public int CbufSlot { get; } public int CbufOffset { get; } + public TextureUsageFlags Flags { get; set; } + public TextureDescriptor(string name, SamplerType type, int handleIndex) { Name = name; @@ -23,6 +25,8 @@ namespace Ryujinx.Graphics.Shader CbufSlot = 0; CbufOffset = 0; + + Flags = TextureUsageFlags.None; } public TextureDescriptor(string name, SamplerType type, int cbufSlot, int cbufOffset) @@ -35,6 +39,8 @@ namespace Ryujinx.Graphics.Shader CbufSlot = cbufSlot; CbufOffset = cbufOffset; + + Flags = TextureUsageFlags.None; } } }
\ No newline at end of file |
