summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/decode/arithmetic_half.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-04-09 22:34:11 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-04-16 02:16:09 +0200
commit90cbf89303d5252fdd14dba99447edc9c7c73722 (patch)
tree6f52b0330c91e1c61e73e8601731e4be22c3843b /src/video_core/shader/decode/arithmetic_half.cpp
parentrenderer_opengl: Implement half float NaN comparisons (diff)
downloadyuzu-90cbf89303d5252fdd14dba99447edc9c7c73722.tar
yuzu-90cbf89303d5252fdd14dba99447edc9c7c73722.tar.gz
yuzu-90cbf89303d5252fdd14dba99447edc9c7c73722.tar.bz2
yuzu-90cbf89303d5252fdd14dba99447edc9c7c73722.tar.lz
yuzu-90cbf89303d5252fdd14dba99447edc9c7c73722.tar.xz
yuzu-90cbf89303d5252fdd14dba99447edc9c7c73722.tar.zst
yuzu-90cbf89303d5252fdd14dba99447edc9c7c73722.zip
Diffstat (limited to 'src/video_core/shader/decode/arithmetic_half.cpp')
-rw-r--r--src/video_core/shader/decode/arithmetic_half.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/arithmetic_half.cpp b/src/video_core/shader/decode/arithmetic_half.cpp
index baee89107..8cf49314d 100644
--- a/src/video_core/shader/decode/arithmetic_half.cpp
+++ b/src/video_core/shader/decode/arithmetic_half.cpp
@@ -18,7 +18,9 @@ u32 ShaderIR::DecodeArithmeticHalf(NodeBlock& bb, u32 pc) {
if (opcode->get().GetId() == OpCode::Id::HADD2_C ||
opcode->get().GetId() == OpCode::Id::HADD2_R) {
- UNIMPLEMENTED_IF(instr.alu_half.ftz != 0);
+ if (instr.alu_half.ftz != 0) {
+ LOG_WARNING(HW_GPU, "{} FTZ not implemented", opcode->get().GetName());
+ }
}
UNIMPLEMENTED_IF_MSG(instr.alu_half.saturate != 0, "Half float saturation not implemented");