mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-12 03:48:22 -05:00
shader: Implement CAL inlining function calls
This commit is contained in:
@ -296,11 +296,9 @@ void Visit(Info& info, IR::Inst& inst) {
|
||||
|
||||
void CollectShaderInfoPass(IR::Program& program) {
|
||||
Info& info{program.info};
|
||||
for (IR::Function& function : program.functions) {
|
||||
for (IR::Block* const block : function.post_order_blocks) {
|
||||
for (IR::Inst& inst : block->Instructions()) {
|
||||
Visit(info, inst);
|
||||
}
|
||||
for (IR::Block* const block : program.post_order_blocks) {
|
||||
for (IR::Inst& inst : block->Instructions()) {
|
||||
Visit(info, inst);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user