diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-06-29 07:44:07 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-10-05 00:52:50 +0200 |
commit | 38fc995f6cc2c2af29abc976ddb45b72873b2cc4 (patch) | |
tree | a73839d510c79a5e296e54a6768868f788abd45d /src/video_core/shader/control_flow.cpp | |
parent | shader_ir: Declare Manager and pass it to appropiate programs. (diff) | |
download | yuzu-38fc995f6cc2c2af29abc976ddb45b72873b2cc4.tar yuzu-38fc995f6cc2c2af29abc976ddb45b72873b2cc4.tar.gz yuzu-38fc995f6cc2c2af29abc976ddb45b72873b2cc4.tar.bz2 yuzu-38fc995f6cc2c2af29abc976ddb45b72873b2cc4.tar.lz yuzu-38fc995f6cc2c2af29abc976ddb45b72873b2cc4.tar.xz yuzu-38fc995f6cc2c2af29abc976ddb45b72873b2cc4.tar.zst yuzu-38fc995f6cc2c2af29abc976ddb45b72873b2cc4.zip |
Diffstat (limited to 'src/video_core/shader/control_flow.cpp')
-rw-r--r-- | src/video_core/shader/control_flow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/control_flow.cpp b/src/video_core/shader/control_flow.cpp index deb3d3ebd..a29922815 100644 --- a/src/video_core/shader/control_flow.cpp +++ b/src/video_core/shader/control_flow.cpp @@ -425,7 +425,7 @@ void InsertBranch(ASTManager& mm, const BlockBranchInfo& branch) { } if (cond.predicate != Pred::UnusedIndex) { u32 pred = static_cast<u32>(cond.predicate); - bool negate; + bool negate = false; if (pred > 7) { negate = true; pred -= 8; |