diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-04-02 04:18:13 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-04-03 22:12:44 +0200 |
commit | 04979560fbf3ca4a3cad39fea5d677997ca5441c (patch) | |
tree | bf9bed28b5ac7b109abb6dd71fc688f1006bb982 | |
parent | shader_ir/memory: Reduce severity of ST_L cache management and log it (diff) | |
download | yuzu-04979560fbf3ca4a3cad39fea5d677997ca5441c.tar yuzu-04979560fbf3ca4a3cad39fea5d677997ca5441c.tar.gz yuzu-04979560fbf3ca4a3cad39fea5d677997ca5441c.tar.bz2 yuzu-04979560fbf3ca4a3cad39fea5d677997ca5441c.tar.lz yuzu-04979560fbf3ca4a3cad39fea5d677997ca5441c.tar.xz yuzu-04979560fbf3ca4a3cad39fea5d677997ca5441c.tar.zst yuzu-04979560fbf3ca4a3cad39fea5d677997ca5441c.zip |
-rw-r--r-- | src/video_core/engines/shader_bytecode.h | 7 | ||||
-rw-r--r-- | src/video_core/shader/decode/memory.cpp | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index 55d32ace6..c41e3f4f0 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -387,6 +387,13 @@ enum class IpaSampleMode : u64 { Offset = 2, }; +enum class LmemLoadCacheManagement : u64 { + Default = 0, + LU = 1, + CI = 2, + CV = 3, +}; + enum class LmemStoreCacheManagement : u64 { Default = 0, CG = 1, diff --git a/src/video_core/shader/decode/memory.cpp b/src/video_core/shader/decode/memory.cpp index a272c6233..b2b706cb8 100644 --- a/src/video_core/shader/decode/memory.cpp +++ b/src/video_core/shader/decode/memory.cpp @@ -86,8 +86,8 @@ u32 ShaderIR::DecodeMemory(NodeBlock& bb, u32 pc) { break; } case OpCode::Id::LD_L: { - UNIMPLEMENTED_IF_MSG(instr.ld_l.unknown == 1, "LD_L Unhandled mode: {}", - static_cast<u32>(instr.ld_l.unknown.Value())); + LOG_DEBUG(HW_GPU, "LD_L cache management mode: {}", + static_cast<u64>(instr.ld_l.unknown.Value())); const auto GetLmem = [&](s32 offset) { ASSERT(offset % 4 == 0); |