diff options
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate/impl/impl.cpp')
| -rw-r--r-- | src/shader_recompiler/frontend/maxwell/translate/impl/impl.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/impl.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/impl.cpp index 2d2f6f9c6..758a0230a 100644 --- a/src/shader_recompiler/frontend/maxwell/translate/impl/impl.cpp +++ b/src/shader_recompiler/frontend/maxwell/translate/impl/impl.cpp | |||
| @@ -90,6 +90,14 @@ IR::F64 TranslatorVisitor::GetDoubleReg20(u64 insn) { | |||
| 90 | return D(reg.index); | 90 | return D(reg.index); |
| 91 | } | 91 | } |
| 92 | 92 | ||
| 93 | IR::F64 TranslatorVisitor::GetDoubleReg39(u64 insn) { | ||
| 94 | union { | ||
| 95 | u64 raw; | ||
| 96 | BitField<39, 8, IR::Reg> index; | ||
| 97 | } const reg{insn}; | ||
| 98 | return D(reg.index); | ||
| 99 | } | ||
| 100 | |||
| 93 | static std::pair<IR::U32, IR::U32> CbufAddr(u64 insn) { | 101 | static std::pair<IR::U32, IR::U32> CbufAddr(u64 insn) { |
| 94 | union { | 102 | union { |
| 95 | u64 raw; | 103 | u64 raw; |