HostCapabilities.cs
1 namespace Ryujinx.Graphics.Shader.Translation 2 { 3 class HostCapabilities 4 { 5 public readonly bool ReducedPrecision; 6 public readonly bool SupportsFragmentShaderInterlock; 7 public readonly bool SupportsFragmentShaderOrderingIntel; 8 public readonly bool SupportsGeometryShaderPassthrough; 9 public readonly bool SupportsShaderBallot; 10 public readonly bool SupportsShaderBarrierDivergence; 11 public readonly bool SupportsShaderFloat64; 12 public readonly bool SupportsTextureShadowLod; 13 public readonly bool SupportsViewportMask; 14 15 public HostCapabilities( 16 bool reducedPrecision, 17 bool supportsFragmentShaderInterlock, 18 bool supportsFragmentShaderOrderingIntel, 19 bool supportsGeometryShaderPassthrough, 20 bool supportsShaderBallot, 21 bool supportsShaderBarrierDivergence, 22 bool supportsShaderFloat64, 23 bool supportsTextureShadowLod, 24 bool supportsViewportMask) 25 { 26 ReducedPrecision = reducedPrecision; 27 SupportsFragmentShaderInterlock = supportsFragmentShaderInterlock; 28 SupportsFragmentShaderOrderingIntel = supportsFragmentShaderOrderingIntel; 29 SupportsGeometryShaderPassthrough = supportsGeometryShaderPassthrough; 30 SupportsShaderBallot = supportsShaderBallot; 31 SupportsShaderBarrierDivergence = supportsShaderBarrierDivergence; 32 SupportsShaderFloat64 = supportsShaderFloat64; 33 SupportsTextureShadowLod = supportsTextureShadowLod; 34 SupportsViewportMask = supportsViewportMask; 35 } 36 } 37 }