Capabilities.cs 1.0 KB

123456789101112131415161718192021222324252627
  1. namespace Ryujinx.Graphics.GAL
  2. {
  3. public struct Capabilities
  4. {
  5. public bool SupportsAstcCompression { get; }
  6. public bool SupportsNonConstantTextureOffset { get; }
  7. public int MaximumComputeSharedMemorySize { get; }
  8. public int StorageBufferOffsetAlignment { get; }
  9. public float MaxSupportedAnisotropy { get; }
  10. public Capabilities(
  11. bool supportsAstcCompression,
  12. bool supportsNonConstantTextureOffset,
  13. int maximumComputeSharedMemorySize,
  14. int storageBufferOffsetAlignment,
  15. float maxSupportedAnisotropy)
  16. {
  17. SupportsAstcCompression = supportsAstcCompression;
  18. SupportsNonConstantTextureOffset = supportsNonConstantTextureOffset;
  19. MaximumComputeSharedMemorySize = maximumComputeSharedMemorySize;
  20. StorageBufferOffsetAlignment = storageBufferOffsetAlignment;
  21. MaxSupportedAnisotropy = maxSupportedAnisotropy;
  22. }
  23. }
  24. }