diff options
| author | 2021-05-08 19:21:32 -0400 | |
|---|---|---|
| committer | 2021-07-22 21:51:30 -0400 | |
| commit | 934d3002462e27bcc289c1edb4959896cb23beb0 (patch) | |
| tree | c28a4192fc0968f2197e9cfdbca6f4864679c56d /src/shader_recompiler/backend/glasm/emit_glasm_instructions.h | |
| parent | glasm: Implement more logical ops (diff) | |
| download | yuzu-934d3002462e27bcc289c1edb4959896cb23beb0.tar.gz yuzu-934d3002462e27bcc289c1edb4959896cb23beb0.tar.xz yuzu-934d3002462e27bcc289c1edb4959896cb23beb0.zip | |
glasm: Use CMP.S for Select32
also fixes ADD and SUB to use U modifier
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_glasm_instructions.h')
| -rw-r--r-- | src/shader_recompiler/backend/glasm/emit_glasm_instructions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_instructions.h b/src/shader_recompiler/backend/glasm/emit_glasm_instructions.h index 13f47b253..222285021 100644 --- a/src/shader_recompiler/backend/glasm/emit_glasm_instructions.h +++ b/src/shader_recompiler/backend/glasm/emit_glasm_instructions.h | |||
| @@ -214,8 +214,8 @@ void EmitSelectU64(EmitContext& ctx, std::string_view cond, std::string_view tru | |||
| 214 | std::string_view false_value); | 214 | std::string_view false_value); |
| 215 | void EmitSelectF16(EmitContext& ctx, std::string_view cond, std::string_view true_value, | 215 | void EmitSelectF16(EmitContext& ctx, std::string_view cond, std::string_view true_value, |
| 216 | std::string_view false_value); | 216 | std::string_view false_value); |
| 217 | void EmitSelectF32(EmitContext& ctx, std::string_view cond, std::string_view true_value, | 217 | void EmitSelectF32(EmitContext& ctx, IR::Inst& inst, std::string_view cond, |
| 218 | std::string_view false_value); | 218 | std::string_view true_value, std::string_view false_value); |
| 219 | void EmitSelectF64(EmitContext& ctx, std::string_view cond, std::string_view true_value, | 219 | void EmitSelectF64(EmitContext& ctx, std::string_view cond, std::string_view true_value, |
| 220 | std::string_view false_value); | 220 | std::string_view false_value); |
| 221 | void EmitBitCastU16F16(EmitContext& ctx, IR::Inst& inst, const IR::Value& value); | 221 | void EmitBitCastU16F16(EmitContext& ctx, IR::Inst& inst, const IR::Value& value); |