diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-12-17 08:21:26 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-01-26 03:53:23 +0100 |
commit | dd4a1672a77830a53de61cf0554b34e9e17a2905 (patch) | |
tree | 63b1b64e3858aca34c0828dbd9fec6f5ebc1f887 /src/citra_qt/debugger | |
parent | VideoCore/Shader: Add constness to methods (diff) | |
download | yuzu-dd4a1672a77830a53de61cf0554b34e9e17a2905.tar yuzu-dd4a1672a77830a53de61cf0554b34e9e17a2905.tar.gz yuzu-dd4a1672a77830a53de61cf0554b34e9e17a2905.tar.bz2 yuzu-dd4a1672a77830a53de61cf0554b34e9e17a2905.tar.lz yuzu-dd4a1672a77830a53de61cf0554b34e9e17a2905.tar.xz yuzu-dd4a1672a77830a53de61cf0554b34e9e17a2905.tar.zst yuzu-dd4a1672a77830a53de61cf0554b34e9e17a2905.zip |
Diffstat (limited to '')
-rw-r--r-- | src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp | 4 |
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 info.labels.insert({entry_point, "main"}); // Generate debug information - debug_data = shader_setup.ProduceDebugInfo(input_vertex, num_attributes, entry_point); + auto* shader_engine = Pica::Shader::GetEngine(); + shader_engine->SetupBatch(&shader_setup); + debug_data = shader_engine->ProduceDebugInfo(input_vertex, num_attributes, entry_point); // Reload widget state for (int attr = 0; attr < num_attributes; ++attr) { |