mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-13 22:07:55 -05:00
shader: Implement CAL inlining function calls
This commit is contained in:
@ -77,11 +77,9 @@ IR::Opcode Replace(IR::Opcode op) {
|
||||
} // Anonymous namespace
|
||||
|
||||
void LowerFp16ToFp32(IR::Program& program) {
|
||||
for (IR::Function& function : program.functions) {
|
||||
for (IR::Block* const block : function.blocks) {
|
||||
for (IR::Inst& inst : block->Instructions()) {
|
||||
inst.ReplaceOpcode(Replace(inst.Opcode()));
|
||||
}
|
||||
for (IR::Block* const block : program.blocks) {
|
||||
for (IR::Inst& inst : block->Instructions()) {
|
||||
inst.ReplaceOpcode(Replace(inst.Opcode()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user