summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/decode
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-04-17 04:21:19 +0200
committerGitHub <noreply@github.com>2019-04-17 04:21:19 +0200
commit0cfbd3325b2f53449a58669b3911eab52084f86c (patch)
tree39220932da679ed9be9b63434cc4439bc6801092 /src/video_core/shader/decode
parentMerge pull request #2384 from ReinUsesLisp/gl-state-clear (diff)
parentshader_ir/memory: Reduce severity of LD_L cache management and log it (diff)
downloadyuzu-0cfbd3325b2f53449a58669b3911eab52084f86c.tar
yuzu-0cfbd3325b2f53449a58669b3911eab52084f86c.tar.gz
yuzu-0cfbd3325b2f53449a58669b3911eab52084f86c.tar.bz2
yuzu-0cfbd3325b2f53449a58669b3911eab52084f86c.tar.lz
yuzu-0cfbd3325b2f53449a58669b3911eab52084f86c.tar.xz
yuzu-0cfbd3325b2f53449a58669b3911eab52084f86c.tar.zst
yuzu-0cfbd3325b2f53449a58669b3911eab52084f86c.zip
Diffstat (limited to 'src/video_core/shader/decode')
-rw-r--r--src/video_core/shader/decode/memory.cpp9
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 @@
#include "common/assert.h"
#include "common/common_types.h"
+#include "common/logging/log.h"
#include "video_core/engines/shader_bytecode.h"
#include "video_core/shader/shader_ir.h"
@@ -102,8 +103,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);
@@ -214,8 +215,8 @@ u32 ShaderIR::DecodeMemory(NodeBlock& bb, u32 pc) {
break;
}
case OpCode::Id::ST_L: {
- UNIMPLEMENTED_IF_MSG(instr.st_l.unknown == 0, "ST_L Unhandled mode: {}",
- static_cast<u32>(instr.st_l.unknown.Value()));
+ LOG_DEBUG(HW_GPU, "ST_L cache management mode: {}",
+ static_cast<u64>(instr.st_l.cache_management.Value()));
const auto GetLmemAddr = [&](s32 offset) {
ASSERT(offset % 4 == 0);