diff options
author | Tony Wasserka <NeoBrainX@gmail.com> | 2015-05-28 00:31:26 +0200 |
---|---|---|
committer | Tony Wasserka <NeoBrainX@gmail.com> | 2015-08-16 13:22:01 +0200 |
commit | 2e3601f4156e73f22fa30d6b6cb42831ec1f713e (patch) | |
tree | 62fbc98e323f230dcb2d16d0f2a0b0ded6b9e2d9 /src/citra_qt/debugger/graphics_vertex_shader.cpp | |
parent | citra-qt: Improve shader debugger. (diff) | |
download | yuzu-2e3601f4156e73f22fa30d6b6cb42831ec1f713e.tar yuzu-2e3601f4156e73f22fa30d6b6cb42831ec1f713e.tar.gz yuzu-2e3601f4156e73f22fa30d6b6cb42831ec1f713e.tar.bz2 yuzu-2e3601f4156e73f22fa30d6b6cb42831ec1f713e.tar.lz yuzu-2e3601f4156e73f22fa30d6b6cb42831ec1f713e.tar.xz yuzu-2e3601f4156e73f22fa30d6b6cb42831ec1f713e.tar.zst yuzu-2e3601f4156e73f22fa30d6b6cb42831ec1f713e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/citra_qt/debugger/graphics_vertex_shader.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/citra_qt/debugger/graphics_vertex_shader.cpp b/src/citra_qt/debugger/graphics_vertex_shader.cpp index 92d3a8323..b1657620e 100644 --- a/src/citra_qt/debugger/graphics_vertex_shader.cpp +++ b/src/citra_qt/debugger/graphics_vertex_shader.cpp @@ -272,10 +272,9 @@ void GraphicsVertexShaderModel::DumpShader() { auto& setup = Pica::g_state.vs; auto& config = Pica::g_state.regs.vs; - Pica::DebugUtils::DumpShader(setup.program_code.data(), setup.program_code.size(), - setup.swizzle_data.data(), setup.swizzle_data.size(), - config.main_offset, Pica::g_state.regs.vs_output_attributes); + Pica::DebugUtils::DumpShader(config, setup, Pica::g_state.regs.vs_output_attributes); } + GraphicsVertexShaderWidget::GraphicsVertexShaderWidget(std::shared_ptr< Pica::DebugContext > debug_context, QWidget* parent) : BreakPointObserverDock(debug_context, "Pica Vertex Shader", parent) { |