|
@@ -3,6 +3,7 @@ namespace Ryujinx.Graphics.GAL
|
|
|
public struct Capabilities
|
|
public struct Capabilities
|
|
|
{
|
|
{
|
|
|
public bool SupportsAstcCompression { get; }
|
|
public bool SupportsAstcCompression { get; }
|
|
|
|
|
+ public bool SupportsImageLoadFormatted { get; }
|
|
|
public bool SupportsNonConstantTextureOffset { get; }
|
|
public bool SupportsNonConstantTextureOffset { get; }
|
|
|
|
|
|
|
|
public int MaximumComputeSharedMemorySize { get; }
|
|
public int MaximumComputeSharedMemorySize { get; }
|
|
@@ -12,12 +13,14 @@ namespace Ryujinx.Graphics.GAL
|
|
|
|
|
|
|
|
public Capabilities(
|
|
public Capabilities(
|
|
|
bool supportsAstcCompression,
|
|
bool supportsAstcCompression,
|
|
|
|
|
+ bool supportsImageLoadFormatted,
|
|
|
bool supportsNonConstantTextureOffset,
|
|
bool supportsNonConstantTextureOffset,
|
|
|
int maximumComputeSharedMemorySize,
|
|
int maximumComputeSharedMemorySize,
|
|
|
int storageBufferOffsetAlignment,
|
|
int storageBufferOffsetAlignment,
|
|
|
float maxSupportedAnisotropy)
|
|
float maxSupportedAnisotropy)
|
|
|
{
|
|
{
|
|
|
SupportsAstcCompression = supportsAstcCompression;
|
|
SupportsAstcCompression = supportsAstcCompression;
|
|
|
|
|
+ SupportsImageLoadFormatted = supportsImageLoadFormatted;
|
|
|
SupportsNonConstantTextureOffset = supportsNonConstantTextureOffset;
|
|
SupportsNonConstantTextureOffset = supportsNonConstantTextureOffset;
|
|
|
MaximumComputeSharedMemorySize = maximumComputeSharedMemorySize;
|
|
MaximumComputeSharedMemorySize = maximumComputeSharedMemorySize;
|
|
|
StorageBufferOffsetAlignment = storageBufferOffsetAlignment;
|
|
StorageBufferOffsetAlignment = storageBufferOffsetAlignment;
|