diff options
author | Subv <subv2112@gmail.com> | 2015-07-23 01:20:54 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2015-07-23 18:47:34 +0200 |
commit | 6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0 (patch) | |
tree | 5e8a1e33d8697550fc7a8eee76755be4bd65015a /src/video_core | |
parent | Merge pull request #968 from Subv/texture_filtering (diff) | |
download | yuzu-6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0.tar yuzu-6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0.tar.gz yuzu-6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0.tar.bz2 yuzu-6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0.tar.lz yuzu-6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0.tar.xz yuzu-6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0.tar.zst yuzu-6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/command_processor.cpp | 4 | ||||
-rw-r--r-- | src/video_core/debug_utils/debug_utils.h | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp index 8b10d7340..92ba8754f 100644 --- a/src/video_core/command_processor.cpp +++ b/src/video_core/command_processor.cpp @@ -50,7 +50,7 @@ static inline void WritePicaReg(u32 id, u32 value, u32 mask) { regs[id] = (old_value & ~mask) | (value & mask); if (g_debug_context) - g_debug_context->OnEvent(DebugContext::Event::CommandLoaded, reinterpret_cast<void*>(&id)); + g_debug_context->OnEvent(DebugContext::Event::PicaCommandLoaded, reinterpret_cast<void*>(&id)); DebugUtils::OnPicaRegWrite(id, regs[id]); @@ -428,7 +428,7 @@ static inline void WritePicaReg(u32 id, u32 value, u32 mask) { VideoCore::g_renderer->hw_rasterizer->NotifyPicaRegisterChanged(id); if (g_debug_context) - g_debug_context->OnEvent(DebugContext::Event::CommandProcessed, reinterpret_cast<void*>(&id)); + g_debug_context->OnEvent(DebugContext::Event::PicaCommandProcessed, reinterpret_cast<void*>(&id)); } void ProcessCommandList(const u32* list, u32 size) { diff --git a/src/video_core/debug_utils/debug_utils.h b/src/video_core/debug_utils/debug_utils.h index 2573292e2..3f109dcb7 100644 --- a/src/video_core/debug_utils/debug_utils.h +++ b/src/video_core/debug_utils/debug_utils.h @@ -25,11 +25,14 @@ public: enum class Event { FirstEvent = 0, - CommandLoaded = FirstEvent, - CommandProcessed, + PicaCommandLoaded = FirstEvent, + PicaCommandProcessed, IncomingPrimitiveBatch, FinishedPrimitiveBatch, VertexLoaded, + IncomingDisplayTransfer, + GSPCommandProcessed, + BufferSwapped, NumEvents }; |