mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-12-14 14:55:39 +00:00
Merge pull request #1478 from JayFoxRox/master
Fix attribute mapping in vs debugger
This commit is contained in:
commit
3475808a54
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue