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.cs16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/Ryujinx.Graphics.GAL/ResourceLayout.cs b/src/Ryujinx.Graphics.GAL/ResourceLayout.cs
index 200292ee..84bca5b4 100644
--- a/src/Ryujinx.Graphics.GAL/ResourceLayout.cs
+++ b/src/Ryujinx.Graphics.GAL/ResourceLayout.cs
@@ -15,14 +15,6 @@ namespace Ryujinx.Graphics.GAL
BufferImage,
}
- public enum ResourceAccess : byte
- {
- None = 0,
- Read = 1,
- Write = 2,
- ReadWrite = Read | Write,
- }
-
[Flags]
public enum ResourceStages : byte
{
@@ -81,19 +73,17 @@ namespace Ryujinx.Graphics.GAL
public int Binding { get; }
public ResourceType Type { get; }
public ResourceStages Stages { get; }
- public ResourceAccess Access { get; }
- public ResourceUsage(int binding, ResourceType type, ResourceStages stages, ResourceAccess access)
+ public ResourceUsage(int binding, ResourceType type, ResourceStages stages)
{
Binding = binding;
Type = type;
Stages = stages;
- Access = access;
}
public override int GetHashCode()
{
- return HashCode.Combine(Binding, Type, Stages, Access);
+ return HashCode.Combine(Binding, Type, Stages);
}
public override bool Equals(object obj)
@@ -103,7 +93,7 @@ namespace Ryujinx.Graphics.GAL
public bool Equals(ResourceUsage other)
{
- return Binding == other.Binding && Type == other.Type && Stages == other.Stages && Access == other.Access;
+ return Binding == other.Binding && Type == other.Type && Stages == other.Stages;
}
public static bool operator ==(ResourceUsage left, ResourceUsage right)