summaryrefslogtreecommitdiffstats
path: root/src/video_core/command_processor.cpp
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2014-12-10 17:31:50 +0100
committerTony Wasserka <NeoBrainX@gmail.com>2014-12-20 18:06:55 +0100
commit79c29243ed94fb247dfa5a60e1863a8f64f11669 (patch)
treee0bfd61848a57adef3ea458a041d060ecac414f2 /src/video_core/command_processor.cpp
parentPica/PrimitiveAssembly: Implement triangle strips. (diff)
downloadyuzu-79c29243ed94fb247dfa5a60e1863a8f64f11669.tar
yuzu-79c29243ed94fb247dfa5a60e1863a8f64f11669.tar.gz
yuzu-79c29243ed94fb247dfa5a60e1863a8f64f11669.tar.bz2
yuzu-79c29243ed94fb247dfa5a60e1863a8f64f11669.tar.lz
yuzu-79c29243ed94fb247dfa5a60e1863a8f64f11669.tar.xz
yuzu-79c29243ed94fb247dfa5a60e1863a8f64f11669.tar.zst
yuzu-79c29243ed94fb247dfa5a60e1863a8f64f11669.zip
Diffstat (limited to 'src/video_core/command_processor.cpp')
-rw-r--r--src/video_core/command_processor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp
index d8bddd569..4f82694fd 100644
--- a/src/video_core/command_processor.cpp
+++ b/src/video_core/command_processor.cpp
@@ -131,6 +131,9 @@ static inline void WritePicaReg(u32 id, u32 value, u32 mask) {
}
}
+ if (g_debug_context)
+ g_debug_context->OnEvent(DebugContext::Event::VertexLoaded, (void*)&input);
+
// NOTE: When dumping geometry, we simply assume that the first input attribute
// corresponds to the position for now.
DebugUtils::GeometryDumper::Vertex dumped_vertex = {