diff options
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_glasm.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/glasm/emit_glasm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm.cpp b/src/shader_recompiler/backend/glasm/emit_glasm.cpp index d7a08e4b3..a893fa3fb 100644 --- a/src/shader_recompiler/backend/glasm/emit_glasm.cpp +++ b/src/shader_recompiler/backend/glasm/emit_glasm.cpp | |||
| @@ -200,7 +200,7 @@ void Precolor(EmitContext& ctx, const IR::Program& program) { | |||
| 200 | } | 200 | } |
| 201 | // Add reference to the phi node on the phi predecessor to avoid overwritting it | 201 | // Add reference to the phi node on the phi predecessor to avoid overwritting it |
| 202 | for (size_t i = 0; i < num_args; ++i) { | 202 | for (size_t i = 0; i < num_args; ++i) { |
| 203 | IR::IREmitter{*phi.PhiBlock(i)}.DummyReference(IR::Value{&phi}); | 203 | IR::IREmitter{*phi.PhiBlock(i)}.Reference(IR::Value{&phi}); |
| 204 | } | 204 | } |
| 205 | } | 205 | } |
| 206 | } | 206 | } |