mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-28 22:51:22 -08: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;
|
||
|
}
|
||
|
}
|
||
|
}
|