aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader/compiler_settings.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-09-20 21:12:06 -0400
committerFernandoS27 <fsahmkow27@gmail.com>2019-10-04 18:52:52 -0400
commit2e9a810423ef36178ac3947f8feeb7b9a5b29bce (patch)
treecad196eab22eafd8766a51e7086b8812e510b1c6 /src/video_core/shader/compiler_settings.h
parentca9901867e91cd0be0cc75094ee8ea2fb2767c47 (diff)
Shader_IR: allow else derivation to be optional.
Diffstat (limited to 'src/video_core/shader/compiler_settings.h')
-rw-r--r--src/video_core/shader/compiler_settings.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/shader/compiler_settings.h b/src/video_core/shader/compiler_settings.h
index e1fb5bc3a..916018c01 100644
--- a/src/video_core/shader/compiler_settings.h
+++ b/src/video_core/shader/compiler_settings.h
@@ -19,7 +19,8 @@ enum class CompileDepth : u32 {
std::string CompileDepthAsString(CompileDepth cd);
struct CompilerSettings {
- CompileDepth depth;
+ CompileDepth depth{CompileDepth::NoFlowStack};
+ bool disable_else_derivation{true};
};
} // namespace VideoCommon::Shader