diff options
| author | FernandoS27 <fsahmkow27@gmail.com> | 2021-03-21 04:33:19 +0100 |
|---|---|---|
| committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-22 21:51:23 -0400 |
| commit | 27fb97377eeb40849260ea866a90519521c6f59b (patch) | |
| tree | 103da3128456dba052d4c057a41d6e9ae0e2a2ba /src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h | |
| parent | e10d9c1b8e21912d34c02a22b5812b94fc27502b (diff) | |
shader: Fix floating point comparison for FP16
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h')
| -rw-r--r-- | src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h b/src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h index f8add3c34..f584060b3 100644 --- a/src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h +++ b/src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h @@ -18,7 +18,7 @@ namespace Shader::Maxwell { [[nodiscard]] bool IsCompareOpOrdered(FPCompareOp op); -[[nodiscard]] IR::U1 FloatingPointCompare(IR::IREmitter& ir, const IR::F32& operand_1, - const IR::F32& operand_2, FPCompareOp compare_op, +[[nodiscard]] IR::U1 FloatingPointCompare(IR::IREmitter& ir, const IR::F16F32F64& operand_1, + const IR::F16F32F64& operand_2, FPCompareOp compare_op, IR::FpControl control = {}); } // namespace Shader::Maxwell |
