diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-05-10 08:55:09 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:31 +0200 |
commit | 3b6a632237e2f8388f2591d54fb31bebdc2a0ade (patch) | |
tree | 7c7c1c4ca32f986bae1fc8f23330a21551bf5086 /src/shader_recompiler/frontend/ir/ir_emitter.h | |
parent | glasm: Properly clamp Fp64 on GLASM (diff) | |
download | yuzu-3b6a632237e2f8388f2591d54fb31bebdc2a0ade.tar yuzu-3b6a632237e2f8388f2591d54fb31bebdc2a0ade.tar.gz yuzu-3b6a632237e2f8388f2591d54fb31bebdc2a0ade.tar.bz2 yuzu-3b6a632237e2f8388f2591d54fb31bebdc2a0ade.tar.lz yuzu-3b6a632237e2f8388f2591d54fb31bebdc2a0ade.tar.xz yuzu-3b6a632237e2f8388f2591d54fb31bebdc2a0ade.tar.zst yuzu-3b6a632237e2f8388f2591d54fb31bebdc2a0ade.zip |
Diffstat (limited to 'src/shader_recompiler/frontend/ir/ir_emitter.h')
-rw-r--r-- | src/shader_recompiler/frontend/ir/ir_emitter.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.h b/src/shader_recompiler/frontend/ir/ir_emitter.h index 4e614d424..fd41b7e89 100644 --- a/src/shader_recompiler/frontend/ir/ir_emitter.h +++ b/src/shader_recompiler/frontend/ir/ir_emitter.h @@ -291,12 +291,12 @@ public: [[nodiscard]] U32U64 ConvertFToS(size_t bitsize, const F16F32F64& value); [[nodiscard]] U32U64 ConvertFToU(size_t bitsize, const F16F32F64& value); [[nodiscard]] U32U64 ConvertFToI(size_t bitsize, bool is_signed, const F16F32F64& value); - [[nodiscard]] F16F32F64 ConvertSToF(size_t dest_bitsize, size_t src_bitsize, - const Value& value); - [[nodiscard]] F16F32F64 ConvertUToF(size_t dest_bitsize, size_t src_bitsize, - const Value& value); + [[nodiscard]] F16F32F64 ConvertSToF(size_t dest_bitsize, size_t src_bitsize, const Value& value, + FpControl control = {}); + [[nodiscard]] F16F32F64 ConvertUToF(size_t dest_bitsize, size_t src_bitsize, const Value& value, + FpControl control = {}); [[nodiscard]] F16F32F64 ConvertIToF(size_t dest_bitsize, size_t src_bitsize, bool is_signed, - const Value& value); + const Value& value, FpControl control = {}); [[nodiscard]] U32U64 UConvert(size_t result_bitsize, const U32U64& value); [[nodiscard]] F16F32F64 FPConvert(size_t result_bitsize, const F16F32F64& value, |