yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

shader: Properly insert Prologue instruction

This commit is contained in:
ReinUsesLisp 2021-03-24 19:37:44 -03:00 committed by ameerj
parent 83a283fa86
commit d3dad6b632
1 changed files with 2 additions and 1 deletions

View File

@ -635,7 +635,8 @@ public:
block_list{block_list_} { block_list{block_list_} {
Visit(root_stmt, nullptr, nullptr); Visit(root_stmt, nullptr, nullptr);
IR::IREmitter ir{*block_list.front()}; IR::Block& first_block{*block_list.front()};
IR::IREmitter ir{first_block, first_block.begin()};
ir.Prologue(); ir.Prologue();
} }