summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2018-09-01 11:33:32 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2018-09-01 11:33:32 +0200
commit60754b472888b9eb3f69f57978512503d61b3915 (patch)
tree07d0911746586cf987e7884e51534a391cdea6e3 /src/video_core
parentAdded FMUL asserts (diff)
downloadyuzu-60754b472888b9eb3f69f57978512503d61b3915.tar
yuzu-60754b472888b9eb3f69f57978512503d61b3915.tar.gz
yuzu-60754b472888b9eb3f69f57978512503d61b3915.tar.bz2
yuzu-60754b472888b9eb3f69f57978512503d61b3915.tar.lz
yuzu-60754b472888b9eb3f69f57978512503d61b3915.tar.xz
yuzu-60754b472888b9eb3f69f57978512503d61b3915.tar.zst
yuzu-60754b472888b9eb3f69f57978512503d61b3915.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/engines/shader_bytecode.h1
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index f07992131..c8052a612 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -337,7 +337,6 @@ union Instruction {
BitField<44, 2, u64> tab5c68_0;
BitField<47, 1, u64> cc;
BitField<48, 1, u64> negate_b;
- BitField<50, 1, u64> saturate;
} fmul;
union {
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
index f33e8d70f..866afc7b5 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -1046,7 +1046,6 @@ private:
instr.fmul.tab5c68_0
.Value()); // SMO typical sends 1 here which seems to be the default
ASSERT_MSG(instr.fmul.cc == 0, "FMUL cc is not implemented");
- ASSERT_MSG(instr.fmul.saturate == 0, "FMUL saturate is not implemented");
op_b = GetOperandAbsNeg(op_b, false, instr.fmul.negate_b);
regs.SetRegisterToFloat(instr.gpr0, 0, op_a + " * " + op_b, 1, 1,