diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2018-09-01 10:45:14 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2018-09-01 10:45:14 +0200 |
commit | b89fc407d78867119074ffc9c98eb0d0806be6a8 (patch) | |
tree | 26cb205263355eb0d52a01e3b9a1a0cd8b995b89 /src/video_core/renderer_opengl/gl_shader_decompiler.cpp | |
parent | Merge pull request #1196 from FearlessTobi/ccache-consistency (diff) | |
download | yuzu-b89fc407d78867119074ffc9c98eb0d0806be6a8.tar yuzu-b89fc407d78867119074ffc9c98eb0d0806be6a8.tar.gz yuzu-b89fc407d78867119074ffc9c98eb0d0806be6a8.tar.bz2 yuzu-b89fc407d78867119074ffc9c98eb0d0806be6a8.tar.lz yuzu-b89fc407d78867119074ffc9c98eb0d0806be6a8.tar.xz yuzu-b89fc407d78867119074ffc9c98eb0d0806be6a8.tar.zst yuzu-b89fc407d78867119074ffc9c98eb0d0806be6a8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp index 391c92d47..88b4e4324 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp @@ -1436,6 +1436,13 @@ private: std::string op_b = instr.ffma.negate_b ? "-" : ""; std::string op_c = instr.ffma.negate_c ? "-" : ""; + ASSERT_MSG(instr.ffma.saturate == 0, "FFMA Saturate not implemented"); + ASSERT_MSG(instr.ffma.cc == 0, "FFMA cc not implemented"); + ASSERT_MSG(instr.ffma.tab5980_0 == 0, "FFMA tab5980_0({}) not implemented", + instr.ffma.tab5980_0.Value()); + ASSERT_MSG(instr.ffma.tab5980_1 == 0, "FFMA tab5980_1({}) not implemented", + instr.ffma.tab5980_1.Value()); + switch (opcode->GetId()) { case OpCode::Id::FFMA_CR: { op_b += regs.GetUniform(instr.cbuf34.index, instr.cbuf34.offset, |