2019-10-13 08:02:07 +02:00
|
|
|
namespace Ryujinx.Graphics.Gpu
|
|
|
|
{
|
2019-12-31 21:08:20 +01:00
|
|
|
/// <summary>
|
|
|
|
/// General GPU and graphics configuration.
|
|
|
|
/// </summary>
|
2019-10-13 08:02:07 +02:00
|
|
|
public static class GraphicsConfig
|
|
|
|
{
|
2020-07-07 04:41:07 +02:00
|
|
|
/// <summary>
|
|
|
|
/// Resolution scale.
|
|
|
|
/// </summary>
|
|
|
|
public static float ResScale = 1f;
|
|
|
|
|
2020-03-30 23:38:52 +02:00
|
|
|
/// <summary>
|
|
|
|
/// Max Anisotropy. Values range from 0 - 16. Set to -1 to let the game decide.
|
|
|
|
/// </summary>
|
|
|
|
public static float MaxAnisotropy;
|
|
|
|
|
2019-12-31 21:08:20 +01:00
|
|
|
/// <summary>
|
|
|
|
/// Base directory used to write shader code dumps.
|
|
|
|
/// Set to null to disable code dumping.
|
|
|
|
/// </summary>
|
2019-10-13 08:02:07 +02:00
|
|
|
public static string ShadersDumpPath;
|
|
|
|
|
2019-12-31 21:08:20 +01:00
|
|
|
/// <summary>
|
|
|
|
/// Fast GPU time calculates the internal GPU time ticks as if the GPU was capable of
|
|
|
|
/// processing commands almost instantly, instead of using the host timer.
|
|
|
|
/// This can avoid lower resolution on some games when GPU performance is poor.
|
|
|
|
/// </summary>
|
2019-10-13 08:02:07 +02:00
|
|
|
public static bool FastGpuTime = true;
|
2020-08-03 03:36:57 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Enables or disables the Just-in-Time compiler for GPU Macro code.
|
|
|
|
/// </summary>
|
|
|
|
public static bool EnableMacroJit = true;
|
2019-10-13 08:02:07 +02:00
|
|
|
}
|
|
|
|
}
|