shader: Handle non-CALL opcodes with a break
This commit is contained in:
parent
bbffa6ad69
commit
c6709d97bc
1 changed files with 2 additions and 0 deletions
|
@ -795,6 +795,8 @@ void JitShader::FindReturnOffsets() {
|
||||||
case OpCode::Id::CALLU:
|
case OpCode::Id::CALLU:
|
||||||
return_offsets.push_back(instr.flow_control.dest_offset + instr.flow_control.num_instructions);
|
return_offsets.push_back(instr.flow_control.dest_offset + instr.flow_control.num_instructions);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue