mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-11 18:46:39 +00:00
16 lines
459 B
C#
16 lines
459 B
C#
|
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;
|
||
|
}
|
||
|
}
|
||
|
}
|