summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-04-25 14:13:44 +0200
committerLioncash <mathew1800@gmail.com>2018-04-25 15:13:57 +0200
commitb7551e457bacf972789136cfdc1e90c5a2e0dae6 (patch)
treeb9b82879eae3a58346ddb4d7cffaaca421e464a3 /src/video_core/engines/maxwell_3d.cpp
parentMerge pull request #388 from bunnei/refactor-rasterizer-cache (diff)
downloadyuzu-b7551e457bacf972789136cfdc1e90c5a2e0dae6.tar
yuzu-b7551e457bacf972789136cfdc1e90c5a2e0dae6.tar.gz
yuzu-b7551e457bacf972789136cfdc1e90c5a2e0dae6.tar.bz2
yuzu-b7551e457bacf972789136cfdc1e90c5a2e0dae6.tar.lz
yuzu-b7551e457bacf972789136cfdc1e90c5a2e0dae6.tar.xz
yuzu-b7551e457bacf972789136cfdc1e90c5a2e0dae6.tar.zst
yuzu-b7551e457bacf972789136cfdc1e90c5a2e0dae6.zip
Diffstat (limited to 'src/video_core/engines/maxwell_3d.cpp')
-rw-r--r--src/video_core/engines/maxwell_3d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp
index 4e9aed380..2acbb9cd6 100644
--- a/src/video_core/engines/maxwell_3d.cpp
+++ b/src/video_core/engines/maxwell_3d.cpp
@@ -186,8 +186,8 @@ void Maxwell3D::ProcessQueryGet() {
}
void Maxwell3D::DrawArrays() {
- LOG_DEBUG(HW_GPU, "called, topology=%d, count=%d", regs.draw.topology.Value(),
- regs.vertex_buffer.count);
+ NGLOG_DEBUG(HW_GPU, "called, topology={}, count={}",
+ static_cast<u32>(regs.draw.topology.Value()), regs.vertex_buffer.count);
ASSERT_MSG(!(regs.index_array.count && regs.vertex_buffer.count), "Both indexed and direct?");
auto debug_context = Core::System::GetInstance().GetGPUDebugContext();