shader: Handle non-CALL opcodes with a break

This commit is contained in:
Sam Spilsbury 2016-04-24 23:41:25 +08:00
parent bbffa6ad69
commit c6709d97bc

View file

@ -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;
} }
} }