summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-05-05 11:54:14 +0200
committerbunnei <bunneidev@gmail.com>2016-05-05 11:54:14 +0200
commitf5e839066a11c0d478caa7297947d9fdd8c12fba (patch)
tree7593d8960f7410cdf14223baae34ae4b27cefb83 /src/video_core
parentMerge pull request #1734 from MerryMage/dsp-hle-source (diff)
parentPica: Rename VertexLoaded breakpoint to VertexShaderInvocation (diff)
downloadyuzu-f5e839066a11c0d478caa7297947d9fdd8c12fba.tar
yuzu-f5e839066a11c0d478caa7297947d9fdd8c12fba.tar.gz
yuzu-f5e839066a11c0d478caa7297947d9fdd8c12fba.tar.bz2
yuzu-f5e839066a11c0d478caa7297947d9fdd8c12fba.tar.lz
yuzu-f5e839066a11c0d478caa7297947d9fdd8c12fba.tar.xz
yuzu-f5e839066a11c0d478caa7297947d9fdd8c12fba.tar.zst
yuzu-f5e839066a11c0d478caa7297947d9fdd8c12fba.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/command_processor.cpp10
-rw-r--r--src/video_core/debug_utils/debug_utils.h2
2 files changed, 5 insertions, 7 deletions
diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp
index be1a936b2..dd1379503 100644
--- a/src/video_core/command_processor.cpp
+++ b/src/video_core/command_processor.cpp
@@ -146,10 +146,9 @@ static void WritePicaReg(u32 id, u32 value, u32 mask) {
Shader::UnitState<false> shader_unit;
Shader::Setup();
- if (g_debug_context)
- g_debug_context->OnEvent(DebugContext::Event::VertexLoaded, static_cast<void*>(&immediate_input));
-
// Send to vertex shader
+ if (g_debug_context)
+ g_debug_context->OnEvent(DebugContext::Event::VertexShaderInvocation, static_cast<void*>(&immediate_input));
Shader::OutputVertex output = Shader::Run(shader_unit, immediate_input, regs.vs.num_input_attributes+1);
// Send to renderer
@@ -272,10 +271,9 @@ static void WritePicaReg(u32 id, u32 value, u32 mask) {
Shader::InputVertex input;
loader.LoadVertex(base_address, index, vertex, input, memory_accesses);
- if (g_debug_context)
- g_debug_context->OnEvent(DebugContext::Event::VertexLoaded, (void*)&input);
-
// Send to vertex shader
+ if (g_debug_context)
+ g_debug_context->OnEvent(DebugContext::Event::VertexShaderInvocation, (void*)&input);
output = Shader::Run(shader_unit, input, loader.GetNumTotalAttributes());
if (is_indexed) {
diff --git a/src/video_core/debug_utils/debug_utils.h b/src/video_core/debug_utils/debug_utils.h
index be2d0301a..f628292a4 100644
--- a/src/video_core/debug_utils/debug_utils.h
+++ b/src/video_core/debug_utils/debug_utils.h
@@ -40,7 +40,7 @@ public:
PicaCommandProcessed,
IncomingPrimitiveBatch,
FinishedPrimitiveBatch,
- VertexLoaded,
+ VertexShaderInvocation,
IncomingDisplayTransfer,
GSPCommandProcessed,
BufferSwapped,