mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-14 05:55:13 +01:00
shader: Handle non-CALL opcodes with a break
This commit is contained in:
parent
bbffa6ad69
commit
c6709d97bc
@ -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 New Issue
Block a user