aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.GAL/ResourceLayout.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Graphics.GAL/ResourceLayout.cs')
-rw-r--r--src/Ryujinx.Graphics.GAL/ResourceLayout.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Ryujinx.Graphics.GAL/ResourceLayout.cs b/src/Ryujinx.Graphics.GAL/ResourceLayout.cs
index 998c046f..b7464ee1 100644
--- a/src/Ryujinx.Graphics.GAL/ResourceLayout.cs
+++ b/src/Ryujinx.Graphics.GAL/ResourceLayout.cs
@@ -74,13 +74,15 @@ namespace Ryujinx.Graphics.GAL
public int ArrayLength { get; }
public ResourceType Type { get; }
public ResourceStages Stages { get; }
+ public bool Write { get; }
- public ResourceUsage(int binding, int arrayLength, ResourceType type, ResourceStages stages)
+ public ResourceUsage(int binding, int arrayLength, ResourceType type, ResourceStages stages, bool write)
{
Binding = binding;
ArrayLength = arrayLength;
Type = type;
Stages = stages;
+ Write = write;
}
public override int GetHashCode()