summaryrefslogtreecommitdiff
path: root/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2016-12-16 23:21:26 -0800
committerGravatar Yuri Kunde Schlesner2017-01-25 18:53:23 -0800
commitdd4a1672a77830a53de61cf0554b34e9e17a2905 (patch)
tree63b1b64e3858aca34c0828dbd9fec6f5ebc1f887 /src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp
parentVideoCore/Shader: Add constness to methods (diff)
downloadyuzu-dd4a1672a77830a53de61cf0554b34e9e17a2905.tar.gz
yuzu-dd4a1672a77830a53de61cf0554b34e9e17a2905.tar.xz
yuzu-dd4a1672a77830a53de61cf0554b34e9e17a2905.zip
VideoCore/Shader: Split shader uniform state and shader engine
Currently there's only a single dummy implementation, which will be split in a following commit.
Diffstat (limited to 'src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp')
-rw-r--r--src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp b/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp
index c556d3b15..7adc3ad14 100644
--- a/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp
+++ b/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp
@@ -518,7 +518,9 @@ void GraphicsVertexShaderWidget::Reload(bool replace_vertex_data, void* vertex_d
518 info.labels.insert({entry_point, "main"}); 518 info.labels.insert({entry_point, "main"});
519 519
520 // Generate debug information 520 // Generate debug information
521 debug_data = shader_setup.ProduceDebugInfo(input_vertex, num_attributes, entry_point); 521 auto* shader_engine = Pica::Shader::GetEngine();
522 shader_engine->SetupBatch(&shader_setup);
523 debug_data = shader_engine->ProduceDebugInfo(input_vertex, num_attributes, entry_point);
522 524
523 // Reload widget state 525 // Reload widget state
524 for (int attr = 0; attr < num_attributes; ++attr) { 526 for (int attr = 0; attr < num_attributes; ++attr) {