diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-08-18 18:30:31 +0200 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2023-08-18 22:17:02 -0400 |
| commit | c03f0b3c893f2bc2ae4f1e1825c5ac1453c36710 (patch) | |
| tree | 3f7f14fad6574878a7c0f94fbe16d574b61cb95a /src/shader_recompiler/frontend/maxwell/translate/impl/move_register.cpp | |
| parent | ae1421265abe1fd5633cab5a54b59dcd818866c7 (diff) | |
Shader Recomnpiler: implement textuzreGrad 3D emulation constant propagation
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.cpp | 6 |
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); } |
