aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/maxwell/translate/impl/move_register.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-08-22 11:30:08 -0400
committerGitHub <noreply@github.com>2023-08-22 11:30:08 -0400
commitb8bab551a4852395de473412bfc9d3f02f4cc01c (patch)
tree139b2b722b7e7f28aadf994f4f4bf87c2ccd9219 /src/shader_recompiler/frontend/maxwell/translate/impl/move_register.cpp
parenta9f223cd9f2733e208938187fdab6e4e655e3b80 (diff)
parentc03f0b3c893f2bc2ae4f1e1825c5ac1453c36710 (diff)
Merge pull request #11316 from FernandoS27/stop-premature-christmas-decorating
Shader Recompiler: implement textureGrad 3D
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate/impl/move_register.cpp')
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/move_register.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/move_register.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/move_register.cpp
index 82aec3b73..1ddfeab06 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/move_register.cpp
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/move_register.cpp
@@ -16,8 +16,10 @@ void MOV(TranslatorVisitor& v, u64 insn, const IR::U32& src, bool is_mov32i = fa
BitField<12, 4, u64> mov32i_mask;
} const mov{insn};
- if ((is_mov32i ? mov.mov32i_mask : mov.mask) != 0xf) {
- throw NotImplementedException("Non-full move mask");
+ u64 mask = is_mov32i ? mov.mov32i_mask : mov.mask;
+ if (mask != 0xf && mask != 0x1) {
+ LOG_WARNING(Shader, "(STUBBED) Masked Mov");
+ return;
}
v.X(mov.dest_reg, src);
}