video_core: Return safe values after an assert hits
This commit is contained in:
parent
148a6418ed
commit
fc46ecddb3
8 changed files with 19 additions and 8 deletions
|
@ -24,6 +24,7 @@ u32 ShaderIR::DecodeBfi(BasicBlock& bb, u32 pc) {
|
|||
return {GetRegister(instr.gpr39), Immediate(instr.alu.GetSignedImm20_20())};
|
||||
default:
|
||||
UNREACHABLE();
|
||||
return {Immediate(0), Immediate(0)};
|
||||
}
|
||||
}();
|
||||
const Node insert = GetRegister(instr.gpr8);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue