summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/debugger/graphics_vertex_shader.cpp
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2015-05-28 00:31:26 +0200
committerTony Wasserka <NeoBrainX@gmail.com>2015-08-16 13:22:01 +0200
commit2e3601f4156e73f22fa30d6b6cb42831ec1f713e (patch)
tree62fbc98e323f230dcb2d16d0f2a0b0ded6b9e2d9 /src/citra_qt/debugger/graphics_vertex_shader.cpp
parentcitra-qt: Improve shader debugger. (diff)
downloadyuzu-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.cpp5
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) {