2023-08-14 01:26:42 +00:00
|
|
|
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;
|
2024-06-03 01:40:28 +00:00
|
|
|
public readonly bool SupportsShaderFloat64;
|
2023-08-14 01:26:42 +00:00
|
|
|
public readonly bool SupportsTextureShadowLod;
|
|
|
|
public readonly bool SupportsViewportMask;
|
|
|
|
|
|
|
|
public HostCapabilities(
|
|
|
|
bool reducedPrecision,
|
|
|
|
bool supportsFragmentShaderInterlock,
|
|
|
|
bool supportsFragmentShaderOrderingIntel,
|
|
|
|
bool supportsGeometryShaderPassthrough,
|
|
|
|
bool supportsShaderBallot,
|
|
|
|
bool supportsShaderBarrierDivergence,
|
2024-06-03 01:40:28 +00:00
|
|
|
bool supportsShaderFloat64,
|
2023-08-14 01:26:42 +00:00
|
|
|
bool supportsTextureShadowLod,
|
|
|
|
bool supportsViewportMask)
|
|
|
|
{
|
|
|
|
ReducedPrecision = reducedPrecision;
|
|
|
|
SupportsFragmentShaderInterlock = supportsFragmentShaderInterlock;
|
|
|
|
SupportsFragmentShaderOrderingIntel = supportsFragmentShaderOrderingIntel;
|
|
|
|
SupportsGeometryShaderPassthrough = supportsGeometryShaderPassthrough;
|
|
|
|
SupportsShaderBallot = supportsShaderBallot;
|
|
|
|
SupportsShaderBarrierDivergence = supportsShaderBarrierDivergence;
|
2024-06-03 01:40:28 +00:00
|
|
|
SupportsShaderFloat64 = supportsShaderFloat64;
|
2023-08-14 01:26:42 +00:00
|
|
|
SupportsTextureShadowLod = supportsTextureShadowLod;
|
|
|
|
SupportsViewportMask = supportsViewportMask;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|