shader: Handle non-CALL opcodes with a break

master
Sam Spilsbury 2016-04-24 23:41:25 +07:00
parent bbffa6ad69
commit c6709d97bc
1 changed files with 2 additions and 0 deletions

@ -795,6 +795,8 @@ void JitShader::FindReturnOffsets() {
case OpCode::Id::CALLU:
return_offsets.push_back(instr.flow_control.dest_offset + instr.flow_control.num_instructions);
break;
default:
break;
}
}