mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-23 13:39:19 +01:00
Only Enable Shader Compiler Debug Mode in Debug Builds
Sets properties that relate to debugging in `Shader::Settings` to `true` only for debug builds while leaving them disabled for release builds.
This commit is contained in:
parent
b09f28c0ba
commit
82916657fb
@ -63,8 +63,13 @@ namespace skyline::gpu {
|
|||||||
};
|
};
|
||||||
|
|
||||||
Shader::Settings::values = {
|
Shader::Settings::values = {
|
||||||
|
#ifdef NDEBUG
|
||||||
|
.renderer_debug = false,
|
||||||
.disable_shader_loop_safety_checks = false,
|
.disable_shader_loop_safety_checks = false,
|
||||||
|
#else
|
||||||
.renderer_debug = true,
|
.renderer_debug = true,
|
||||||
|
.disable_shader_loop_safety_checks = true,
|
||||||
|
#endif
|
||||||
.resolution_info = {
|
.resolution_info = {
|
||||||
.active = false,
|
.active = false,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user