mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-14 10:48:03 -05:00
shader: Implement CAL inlining function calls
This commit is contained in:
@ -262,10 +262,8 @@ void EmitContext::DefineTextures(const Info& info, u32& binding) {
|
||||
}
|
||||
|
||||
void EmitContext::DefineLabels(IR::Program& program) {
|
||||
for (const IR::Function& function : program.functions) {
|
||||
for (IR::Block* const block : function.blocks) {
|
||||
block->SetDefinition(OpLabel());
|
||||
}
|
||||
for (IR::Block* const block : program.blocks) {
|
||||
block->SetDefinition(OpLabel());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user