mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-02 08:53:24 +00:00
shader: Properly insert Prologue instruction
This commit is contained in:
parent
83a283fa86
commit
d3dad6b632
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue