mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-02-21 23:35:33 +00:00
35 lines
1.5 KiB
C#
35 lines
1.5 KiB
C#
|
namespace Ryujinx.Graphics.Shader.Translation
|
||
|
{
|
||
|
class HostCapabilities
|
||
|
{
|
||
|
public readonly bool ReducedPrecision;
|
||
|
public readonly bool SupportsFragmentShaderInterlock;
|
||
|
public readonly bool SupportsFragmentShaderOrderingIntel;
|
||
|
public readonly bool SupportsGeometryShaderPassthrough;
|
||
|
public readonly bool SupportsShaderBallot;
|
||
|
public readonly bool SupportsShaderBarrierDivergence;
|
||
|
public readonly bool SupportsTextureShadowLod;
|
||
|
public readonly bool SupportsViewportMask;
|
||
|
|
||
|
public HostCapabilities(
|
||
|
bool reducedPrecision,
|
||
|
bool supportsFragmentShaderInterlock,
|
||
|
bool supportsFragmentShaderOrderingIntel,
|
||
|
bool supportsGeometryShaderPassthrough,
|
||
|
bool supportsShaderBallot,
|
||
|
bool supportsShaderBarrierDivergence,
|
||
|
bool supportsTextureShadowLod,
|
||
|
bool supportsViewportMask)
|
||
|
{
|
||
|
ReducedPrecision = reducedPrecision;
|
||
|
SupportsFragmentShaderInterlock = supportsFragmentShaderInterlock;
|
||
|
SupportsFragmentShaderOrderingIntel = supportsFragmentShaderOrderingIntel;
|
||
|
SupportsGeometryShaderPassthrough = supportsGeometryShaderPassthrough;
|
||
|
SupportsShaderBallot = supportsShaderBallot;
|
||
|
SupportsShaderBarrierDivergence = supportsShaderBarrierDivergence;
|
||
|
SupportsTextureShadowLod = supportsTextureShadowLod;
|
||
|
SupportsViewportMask = supportsViewportMask;
|
||
|
}
|
||
|
}
|
||
|
}
|