diff options
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp')
| -rw-r--r-- | src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp b/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp index fdac1c95a..79e344986 100644 --- a/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp +++ b/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp | |||
| @@ -635,7 +635,8 @@ public: | |||
| 635 | block_list{block_list_} { | 635 | block_list{block_list_} { |
| 636 | Visit(root_stmt, nullptr, nullptr); | 636 | Visit(root_stmt, nullptr, nullptr); |
| 637 | 637 | ||
| 638 | IR::IREmitter ir{*block_list.front()}; | 638 | IR::Block& first_block{*block_list.front()}; |
| 639 | IR::IREmitter ir{first_block, first_block.begin()}; | ||
| 639 | ir.Prologue(); | 640 | ir.Prologue(); |
| 640 | } | 641 | } |
| 641 | 642 | ||