summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-03-10 05:06:49 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2016-03-10 05:06:49 +0100
commit3475808a54d55f59e66af1a8aa1ee1c73fcffce7 (patch)
tree3191eb68f4b22a3d3d402b575346210ab9a1e86f
parentMerge pull request #1482 from LittleWhite-tb/mac-opengl-check (diff)
parentFix attribute mapping in vs debugger (diff)
downloadyuzu-3475808a54d55f59e66af1a8aa1ee1c73fcffce7.tar
yuzu-3475808a54d55f59e66af1a8aa1ee1c73fcffce7.tar.gz
yuzu-3475808a54d55f59e66af1a8aa1ee1c73fcffce7.tar.bz2
yuzu-3475808a54d55f59e66af1a8aa1ee1c73fcffce7.tar.lz
yuzu-3475808a54d55f59e66af1a8aa1ee1c73fcffce7.tar.xz
yuzu-3475808a54d55f59e66af1a8aa1ee1c73fcffce7.tar.zst
yuzu-3475808a54d55f59e66af1a8aa1ee1c73fcffce7.zip
-rw-r--r--src/citra_qt/debugger/graphics_vertex_shader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/citra_qt/debugger/graphics_vertex_shader.cpp b/src/citra_qt/debugger/graphics_vertex_shader.cpp
index a11c61667..4b676f1b1 100644
--- a/src/citra_qt/debugger/graphics_vertex_shader.cpp
+++ b/src/citra_qt/debugger/graphics_vertex_shader.cpp
@@ -498,8 +498,8 @@ void GraphicsVertexShaderWidget::Reload(bool replace_vertex_data, void* vertex_d
// Reload widget state
for (int attr = 0; attr < num_attributes; ++attr) {
unsigned source_attr = shader_config.input_register_map.GetRegisterForAttribute(attr);
- input_data_mapping[source_attr]->setText(QString("-> v%1").arg(attr));
- input_data_container[source_attr]->setVisible(true);
+ input_data_mapping[attr]->setText(QString("-> v%1").arg(source_attr));
+ input_data_container[attr]->setVisible(true);
}
// Only show input attributes which are used as input to the shader
for (unsigned int attr = num_attributes; attr < 16; ++attr) {