summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-12-30 23:59:42 +0100
committerLioncash <mathew1800@gmail.com>2020-12-30 23:59:42 +0100
commitbcafef4b941bd6ad33f1206a3029da0ae2bc3507 (patch)
tree546606736ead66e5e29e31ee04f020511bcd5c46 /src/video_core
parentMerge pull request #5260 from lioncash/uninit (diff)
downloadyuzu-bcafef4b941bd6ad33f1206a3029da0ae2bc3507.tar
yuzu-bcafef4b941bd6ad33f1206a3029da0ae2bc3507.tar.gz
yuzu-bcafef4b941bd6ad33f1206a3029da0ae2bc3507.tar.bz2
yuzu-bcafef4b941bd6ad33f1206a3029da0ae2bc3507.tar.lz
yuzu-bcafef4b941bd6ad33f1206a3029da0ae2bc3507.tar.xz
yuzu-bcafef4b941bd6ad33f1206a3029da0ae2bc3507.tar.zst
yuzu-bcafef4b941bd6ad33f1206a3029da0ae2bc3507.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/shader/decode/half_set.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/video_core/shader/decode/half_set.cpp b/src/video_core/shader/decode/half_set.cpp
index b2e88fa20..fa83108cd 100644
--- a/src/video_core/shader/decode/half_set.cpp
+++ b/src/video_core/shader/decode/half_set.cpp
@@ -22,13 +22,13 @@ u32 ShaderIR::DecodeHalfSet(NodeBlock& bb, u32 pc) {
const Instruction instr = {program_code[pc]};
const auto opcode = OpCode::Decode(instr);
- PredCondition cond;
- bool bf;
- bool ftz;
- bool neg_a;
- bool abs_a;
- bool neg_b;
- bool abs_b;
+ PredCondition cond{};
+ bool bf = false;
+ bool ftz = false;
+ bool neg_a = false;
+ bool abs_a = false;
+ bool neg_b = false;
+ bool abs_b = false;
switch (opcode->get().GetId()) {
case OpCode::Id::HSET2_C:
case OpCode::Id::HSET2_IMM: