mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-02 00:42:25 -07:00
Add a pass to turn global memory access into storage access, and do all storage related transformations on IR
This commit is contained in:
16
Ryujinx.Graphics.Shader/ShaderCapabilities.cs
Normal file
16
Ryujinx.Graphics.Shader/ShaderCapabilities.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace Ryujinx.Graphics.Shader
|
||||
{
|
||||
public struct ShaderCapabilities
|
||||
{
|
||||
private static readonly ShaderCapabilities _default = new ShaderCapabilities(16);
|
||||
|
||||
public static ShaderCapabilities Default => _default;
|
||||
|
||||
public int StorageBufferOffsetAlignment { get; }
|
||||
|
||||
public ShaderCapabilities(int storageBufferOffsetAlignment)
|
||||
{
|
||||
StorageBufferOffsetAlignment = storageBufferOffsetAlignment;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user