summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraroulin <andy.roulin@epfl.ch>2015-09-02 08:19:11 +0200
committeraroulin <andy.roulin@epfl.ch>2015-09-02 08:20:00 +0200
commitba998b85a1ba1e022b70008452e341a19c0242c6 (patch)
tree56b71527dd31b102d350f2f5f679c7bffce102a6
parentMerge pull request #1072 from yuriks/GetSystemTick-advance-time (diff)
downloadyuzu-ba998b85a1ba1e022b70008452e341a19c0242c6.tar
yuzu-ba998b85a1ba1e022b70008452e341a19c0242c6.tar.gz
yuzu-ba998b85a1ba1e022b70008452e341a19c0242c6.tar.bz2
yuzu-ba998b85a1ba1e022b70008452e341a19c0242c6.tar.lz
yuzu-ba998b85a1ba1e022b70008452e341a19c0242c6.tar.xz
yuzu-ba998b85a1ba1e022b70008452e341a19c0242c6.tar.zst
yuzu-ba998b85a1ba1e022b70008452e341a19c0242c6.zip
-rw-r--r--src/video_core/command_processor.cpp2
-rw-r--r--src/video_core/shader/shader_jit_x64.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp
index 682be89ec..6e9cb2586 100644
--- a/src/video_core/command_processor.cpp
+++ b/src/video_core/command_processor.cpp
@@ -290,7 +290,7 @@ static void WritePicaReg(u32 id, u32 value, u32 mask) {
*(float*)srcdata;
input.attr[i][comp] = float24::FromFloat32(srcval);
- LOG_TRACE(HW_GPU, "Loaded component %x of attribute %x for vertex %x (index %x) from 0x%08x + 0x%08lx + 0x%04lx: %f",
+ LOG_TRACE(HW_GPU, "Loaded component %x of attribute %x for vertex %x (index %x) from 0x%08x + 0x%08x + 0x%04x: %f",
comp, i, vertex, index,
attribute_config.GetPhysicalBaseAddress(),
vertex_attribute_sources[i] - base_address,
diff --git a/src/video_core/shader/shader_jit_x64.cpp b/src/video_core/shader/shader_jit_x64.cpp
index c7b63a9b7..1039c8df4 100644
--- a/src/video_core/shader/shader_jit_x64.cpp
+++ b/src/video_core/shader/shader_jit_x64.cpp
@@ -746,7 +746,8 @@ void JitCompiler::Compile_NextInstr(unsigned* offset) {
((*this).*instr_func)(instr);
} else {
// Unhandled instruction
- LOG_CRITICAL(HW_GPU, "Unhandled instruction: 0x%02x (0x%08x)", instr.opcode.Value(), instr.hex);
+ LOG_CRITICAL(HW_GPU, "Unhandled instruction: 0x%02x (0x%08x)",
+ instr.opcode.Value().EffectiveOpCode(), instr.hex);
}
}