Browse Source
Merge pull request #5263 from lioncash/uninit
half_set: Resolve -Wmaybe-uninitialized warnings
pull/15/merge
bunnei
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
7 additions and
7 deletions
-
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: |
|
|
|
|