diff options
| author | 2021-03-31 19:46:10 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:25 -0400 | |
| commit | eaafd53cfedf0c7ae40a3f790af5f0aec63ebd13 (patch) | |
| tree | 41dd5b44f3f5be33f655fdca736e28c26dfa1b00 /src | |
| parent | shader: Unroll "using enum" for opcode declarations (diff) | |
| download | yuzu-eaafd53cfedf0c7ae40a3f790af5f0aec63ebd13.tar.gz yuzu-eaafd53cfedf0c7ae40a3f790af5f0aec63ebd13.tar.xz yuzu-eaafd53cfedf0c7ae40a3f790af5f0aec63ebd13.zip | |
shader: Implement LDG .U.128 as .128
Diffstat (limited to 'src')
| -rw-r--r-- | src/shader_recompiler/frontend/maxwell/translate/impl/load_store_memory.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/load_store_memory.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/load_store_memory.cpp index 748b856c9..71688b1d7 100644 --- a/src/shader_recompiler/frontend/maxwell/translate/impl/load_store_memory.cpp +++ b/src/shader_recompiler/frontend/maxwell/translate/impl/load_store_memory.cpp | |||
| @@ -118,7 +118,8 @@ void TranslatorVisitor::LDG(u64 insn) { | |||
| 118 | } | 118 | } |
| 119 | break; | 119 | break; |
| 120 | } | 120 | } |
| 121 | case LoadSize::B128: { | 121 | case LoadSize::B128: |
| 122 | case LoadSize::U128: { | ||
| 122 | if (!IR::IsAligned(dest_reg, 4)) { | 123 | if (!IR::IsAligned(dest_reg, 4)) { |
| 123 | throw NotImplementedException("Unaligned data registers"); | 124 | throw NotImplementedException("Unaligned data registers"); |
| 124 | } | 125 | } |
| @@ -128,8 +129,6 @@ void TranslatorVisitor::LDG(u64 insn) { | |||
| 128 | } | 129 | } |
| 129 | break; | 130 | break; |
| 130 | } | 131 | } |
| 131 | case LoadSize::U128: | ||
| 132 | throw NotImplementedException("LDG U.128"); | ||
| 133 | default: | 132 | default: |
| 134 | throw NotImplementedException("Invalid LDG size {}", ldg.size.Value()); | 133 | throw NotImplementedException("Invalid LDG size {}", ldg.size.Value()); |
| 135 | } | 134 | } |