diff options
Diffstat (limited to 'src/video_core/shader')
| -rw-r--r-- | src/video_core/shader/decode/memory.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/video_core/shader/decode/memory.cpp b/src/video_core/shader/decode/memory.cpp index ff19ada55..ea1092db1 100644 --- a/src/video_core/shader/decode/memory.cpp +++ b/src/video_core/shader/decode/memory.cpp | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | 8 | ||
| 9 | #include "common/assert.h" | 9 | #include "common/assert.h" |
| 10 | #include "common/common_types.h" | 10 | #include "common/common_types.h" |
| 11 | #include "common/logging/log.h" | ||
| 11 | #include "video_core/engines/shader_bytecode.h" | 12 | #include "video_core/engines/shader_bytecode.h" |
| 12 | #include "video_core/shader/shader_ir.h" | 13 | #include "video_core/shader/shader_ir.h" |
| 13 | 14 | ||
| @@ -102,8 +103,8 @@ u32 ShaderIR::DecodeMemory(NodeBlock& bb, u32 pc) { | |||
| 102 | break; | 103 | break; |
| 103 | } | 104 | } |
| 104 | case OpCode::Id::LD_L: { | 105 | case OpCode::Id::LD_L: { |
| 105 | UNIMPLEMENTED_IF_MSG(instr.ld_l.unknown == 1, "LD_L Unhandled mode: {}", | 106 | LOG_DEBUG(HW_GPU, "LD_L cache management mode: {}", |
| 106 | static_cast<u32>(instr.ld_l.unknown.Value())); | 107 | static_cast<u64>(instr.ld_l.unknown.Value())); |
| 107 | 108 | ||
| 108 | const auto GetLmem = [&](s32 offset) { | 109 | const auto GetLmem = [&](s32 offset) { |
| 109 | ASSERT(offset % 4 == 0); | 110 | ASSERT(offset % 4 == 0); |
| @@ -214,8 +215,8 @@ u32 ShaderIR::DecodeMemory(NodeBlock& bb, u32 pc) { | |||
| 214 | break; | 215 | break; |
| 215 | } | 216 | } |
| 216 | case OpCode::Id::ST_L: { | 217 | case OpCode::Id::ST_L: { |
| 217 | UNIMPLEMENTED_IF_MSG(instr.st_l.unknown == 0, "ST_L Unhandled mode: {}", | 218 | LOG_DEBUG(HW_GPU, "ST_L cache management mode: {}", |
| 218 | static_cast<u32>(instr.st_l.unknown.Value())); | 219 | static_cast<u64>(instr.st_l.cache_management.Value())); |
| 219 | 220 | ||
| 220 | const auto GetLmemAddr = [&](s32 offset) { | 221 | const auto GetLmemAddr = [&](s32 offset) { |
| 221 | ASSERT(offset % 4 == 0); | 222 | ASSERT(offset % 4 == 0); |