mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-08-21 22:13:23 +02:00
Merge pull request #5263 from lioncash/uninit
half_set: Resolve -Wmaybe-uninitialized warnings
This commit is contained in:
commit
53e49e5360
@ -22,13 +22,13 @@ u32 ShaderIR::DecodeHalfSet(NodeBlock& bb, u32 pc) {
|
|||||||
const Instruction instr = {program_code[pc]};
|
const Instruction instr = {program_code[pc]};
|
||||||
const auto opcode = OpCode::Decode(instr);
|
const auto opcode = OpCode::Decode(instr);
|
||||||
|
|
||||||
PredCondition cond;
|
PredCondition cond{};
|
||||||
bool bf;
|
bool bf = false;
|
||||||
bool ftz;
|
bool ftz = false;
|
||||||
bool neg_a;
|
bool neg_a = false;
|
||||||
bool abs_a;
|
bool abs_a = false;
|
||||||
bool neg_b;
|
bool neg_b = false;
|
||||||
bool abs_b;
|
bool abs_b = false;
|
||||||
switch (opcode->get().GetId()) {
|
switch (opcode->get().GetId()) {
|
||||||
case OpCode::Id::HSET2_C:
|
case OpCode::Id::HSET2_C:
|
||||||
case OpCode::Id::HSET2_IMM:
|
case OpCode::Id::HSET2_IMM:
|
||||||
|
Loading…
Reference in New Issue
Block a user