diff options
| author | 2021-05-10 19:20:15 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:31 -0400 | |
| commit | 70fbede213bfadfc4015b3227e57fca34bea46eb (patch) | |
| tree | 72a860110d4228ba5a9bc6ca977b0fed55385d77 /src/shader_recompiler/backend/glasm/emit_glasm_select.cpp | |
| parent | glasm: Implement shuffle and vote instructions on GLASM (diff) | |
| download | yuzu-70fbede213bfadfc4015b3227e57fca34bea46eb.tar.gz yuzu-70fbede213bfadfc4015b3227e57fca34bea46eb.tar.xz yuzu-70fbede213bfadfc4015b3227e57fca34bea46eb.zip | |
glasm: Review all GLASM insts to be aware of register aliasing
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_glasm_select.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/glasm/emit_glasm_select.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_select.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_select.cpp index cfde86047..b9e5cbbbe 100644 --- a/src/shader_recompiler/backend/glasm/emit_glasm_select.cpp +++ b/src/shader_recompiler/backend/glasm/emit_glasm_select.cpp | |||
| @@ -43,7 +43,7 @@ void EmitSelectU64(EmitContext& ctx, IR::Inst& inst, ScalarS32 cond, Register tr | |||
| 43 | cond, ret, true_value); | 43 | cond, ret, true_value); |
| 44 | } else { | 44 | } else { |
| 45 | ctx.Add("MOV.S.CC RC.x,{};" | 45 | ctx.Add("MOV.S.CC RC.x,{};" |
| 46 | "MOV.U64 {}.x(EQ.x),{};" | 46 | "MOV.U64 {}.x,{};" |
| 47 | "MOV.U64 {}.x(NE.x),{};", | 47 | "MOV.U64 {}.x(NE.x),{};", |
| 48 | cond, ret, false_value, ret, true_value); | 48 | cond, ret, false_value, ret, true_value); |
| 49 | } | 49 | } |