aboutsummaryrefslogtreecommitdiff
path: root/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-12-17 16:06:04 -0800
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-01-25 18:53:25 -0800
commit0f642741451e3f75c2f1d64ae9beccaf1437f12c (patch)
treef964da57def5be6b8d5bc41176db97668bd01125 /src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp
parent6fa3687afc97685101f9ee5c65cf98f505980695 (diff)
VideoCore/Shader: Move per-batch ShaderEngine state into ShaderSetup
Diffstat (limited to 'src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp')
-rw-r--r--src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp b/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp
index c6f807eb3f..616b34d568 100644
--- a/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp
+++ b/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp
@@ -521,8 +521,9 @@ void GraphicsVertexShaderWidget::Reload(bool replace_vertex_data, void* vertex_d
// Generate debug information
Pica::Shader::InterpreterEngine shader_engine;
- shader_engine.SetupBatch(&shader_setup);
- debug_data = shader_engine.ProduceDebugInfo(input_vertex, num_attributes, entry_point);
+ shader_engine.SetupBatch(shader_setup);
+ debug_data =
+ shader_engine.ProduceDebugInfo(shader_setup, input_vertex, num_attributes, entry_point);
// Reload widget state
for (int attr = 0; attr < num_attributes; ++attr) {