diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-12-19 01:42:19 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-01-30 06:31:36 +0100 |
commit | ab6954e942654fb003964fc95c0846aa8b89ac91 (patch) | |
tree | 5bcd962d8a38044f71967f41ba9cab70a942e2f0 /src/citra_qt/debugger | |
parent | VideoCore: Change misleading register names (diff) | |
download | yuzu-ab6954e942654fb003964fc95c0846aa8b89ac91.tar yuzu-ab6954e942654fb003964fc95c0846aa8b89ac91.tar.gz yuzu-ab6954e942654fb003964fc95c0846aa8b89ac91.tar.bz2 yuzu-ab6954e942654fb003964fc95c0846aa8b89ac91.tar.lz yuzu-ab6954e942654fb003964fc95c0846aa8b89ac91.tar.xz yuzu-ab6954e942654fb003964fc95c0846aa8b89ac91.tar.zst yuzu-ab6954e942654fb003964fc95c0846aa8b89ac91.zip |
Diffstat (limited to '')
-rw-r--r-- | src/citra_qt/debugger/graphics/graphics_tracing.cpp | 4 | ||||
-rw-r--r-- | src/citra_qt/debugger/graphics/graphics_vertex_shader.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/citra_qt/debugger/graphics/graphics_tracing.cpp b/src/citra_qt/debugger/graphics/graphics_tracing.cpp index 716ed50b8..17f1c5ce2 100644 --- a/src/citra_qt/debugger/graphics/graphics_tracing.cpp +++ b/src/citra_qt/debugger/graphics/graphics_tracing.cpp @@ -71,8 +71,8 @@ void GraphicsTracingWidget::StartRecording() { std::array<u32, 4 * 16> default_attributes; for (unsigned i = 0; i < 16; ++i) { for (unsigned comp = 0; comp < 3; ++comp) { - default_attributes[4 * i + comp] = - nihstro::to_float24(Pica::g_state.vs_default_attributes[i][comp].ToFloat32()); + default_attributes[4 * i + comp] = nihstro::to_float24( + Pica::g_state.input_default_attributes.attr[i][comp].ToFloat32()); } } diff --git a/src/citra_qt/debugger/graphics/graphics_vertex_shader.h b/src/citra_qt/debugger/graphics/graphics_vertex_shader.h index 3292573f3..c249a2ff8 100644 --- a/src/citra_qt/debugger/graphics/graphics_vertex_shader.h +++ b/src/citra_qt/debugger/graphics/graphics_vertex_shader.h @@ -82,7 +82,7 @@ private: nihstro::ShaderInfo info; Pica::Shader::DebugData<true> debug_data; - Pica::Shader::InputVertex input_vertex; + Pica::Shader::AttributeBuffer input_vertex; friend class GraphicsVertexShaderModel; }; |