aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/Capabilities.cs
diff options
context:
space:
mode:
authorgdk <gab.dark.100@gmail.com>2019-11-30 23:53:09 -0300
committerThog <thog@protonmail.com>2020-01-09 02:13:00 +0100
commit6a98c643cabeea25dc42e19fe475a687a034a532 (patch)
treeccb1ecbfc5b79852be8a1f52e241015142a8a7a9 /Ryujinx.Graphics.GAL/Capabilities.cs
parent396768f3b4494c7dcb0c03942eeb50ef4d47adde (diff)
Add a pass to turn global memory access into storage access, and do all storage related transformations on IR
Diffstat (limited to 'Ryujinx.Graphics.GAL/Capabilities.cs')
-rw-r--r--Ryujinx.Graphics.GAL/Capabilities.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.GAL/Capabilities.cs b/Ryujinx.Graphics.GAL/Capabilities.cs
index 9640447b..246722f8 100644
--- a/Ryujinx.Graphics.GAL/Capabilities.cs
+++ b/Ryujinx.Graphics.GAL/Capabilities.cs
@@ -4,9 +4,14 @@ namespace Ryujinx.Graphics.GAL
{
public bool SupportsAstcCompression { get; }
- public Capabilities(bool supportsAstcCompression)
+ public int StorageBufferOffsetAlignment { get; }
+
+ public Capabilities(
+ bool supportsAstcCompression,
+ int storageBufferOffsetAlignment)
{
- SupportsAstcCompression = supportsAstcCompression;
+ SupportsAstcCompression = supportsAstcCompression;
+ StorageBufferOffsetAlignment = storageBufferOffsetAlignment;
}
}
} \ No newline at end of file