diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-12-17 10:26:07 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-01-26 03:53:24 +0100 |
commit | a9b7752b9d834335410a9e14a99cb943d0850575 (patch) | |
tree | 9bb6398a37b5166af5bbbb2a2a927d6e17db617e /src | |
parent | VideoCore/Shader: Split interpreter and JIT into separate ShaderEngines (diff) | |
download | yuzu-a9b7752b9d834335410a9e14a99cb943d0850575.tar yuzu-a9b7752b9d834335410a9e14a99cb943d0850575.tar.gz yuzu-a9b7752b9d834335410a9e14a99cb943d0850575.tar.bz2 yuzu-a9b7752b9d834335410a9e14a99cb943d0850575.tar.lz yuzu-a9b7752b9d834335410a9e14a99cb943d0850575.tar.xz yuzu-a9b7752b9d834335410a9e14a99cb943d0850575.tar.zst yuzu-a9b7752b9d834335410a9e14a99cb943d0850575.zip |
Diffstat (limited to '')
-rw-r--r-- | src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp b/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp index 7adc3ad14..c6f807eb3 100644 --- a/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp +++ b/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp @@ -18,7 +18,9 @@ #include "citra_qt/util/util.h" #include "video_core/pica.h" #include "video_core/pica_state.h" +#include "video_core/shader/debug_data.h" #include "video_core/shader/shader.h" +#include "video_core/shader/shader_interpreter.h" using nihstro::OpCode; using nihstro::Instruction; @@ -518,9 +520,9 @@ void GraphicsVertexShaderWidget::Reload(bool replace_vertex_data, void* vertex_d info.labels.insert({entry_point, "main"}); // Generate debug information - auto* shader_engine = Pica::Shader::GetEngine(); - shader_engine->SetupBatch(&shader_setup); - debug_data = shader_engine->ProduceDebugInfo(input_vertex, num_attributes, entry_point); + Pica::Shader::InterpreterEngine shader_engine; + 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) { |