mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-04 23:59:00 +02: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:
@@ -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