diff options
| author | FernandoS27 <fsahmkow27@gmail.com> | 2021-06-06 09:57:24 +0200 |
|---|---|---|
| committer | Markus Wick <markus@selfnet.de> | 2021-06-11 17:27:17 +0200 |
| commit | 3147b9e34ce33747a57a1508ec9edd3ee9fa2eef (patch) | |
| tree | 1c388684ccc0ef52b124145cf3dfe98d5d427980 /src/common/settings.h | |
| parent | 8d2a08553e33af1222669ec8992bdd43ae531e18 (diff) | |
General: Add settings for fastmem and disabling adress space check.
Diffstat (limited to 'src/common/settings.h')
| -rw-r--r-- | src/common/settings.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/settings.h b/src/common/settings.h index 48085b9a95..1af8c5ac2e 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -125,10 +125,12 @@ struct Values { bool cpuopt_const_prop; bool cpuopt_misc_ir; bool cpuopt_reduce_misalign_checks; + bool cpuopt_fastmem; Setting<bool> cpuopt_unsafe_unfuse_fma; Setting<bool> cpuopt_unsafe_reduce_fp_error; Setting<bool> cpuopt_unsafe_inaccurate_nan; + Setting<bool> cpuopt_unsafe_fastmem_check; // Renderer Setting<RendererBackend> renderer_backend; @@ -249,6 +251,8 @@ void SetConfiguringGlobal(bool is_global); bool IsGPULevelExtreme(); bool IsGPULevelHigh(); +bool IsFastmemEnabled(); + float Volume(); std::string GetTimeZoneString(); |
