mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-15 14:43:06 +00:00
video_core/control_flow: Eliminate variable shadowing warnings
This commit is contained in:
parent
25702b6256
commit
f883cd4f0e
|
@ -530,12 +530,12 @@ std::unique_ptr<ShaderCharacteristics> ScanFlow(const ProgramCode& program_code,
|
||||||
state.manager->ShowCurrentState("Of Shader");
|
state.manager->ShowCurrentState("Of Shader");
|
||||||
state.manager->Clear();
|
state.manager->Clear();
|
||||||
} else {
|
} else {
|
||||||
auto result_out = std::make_unique<ShaderCharacteristics>();
|
auto characteristics = std::make_unique<ShaderCharacteristics>();
|
||||||
result_out->start = start_address;
|
characteristics->start = start_address;
|
||||||
result_out->settings.depth = settings.depth;
|
characteristics->settings.depth = settings.depth;
|
||||||
result_out->manager = std::move(manager);
|
characteristics->manager = std::move(manager);
|
||||||
result_out->end = state.block_info.back().end + 1;
|
characteristics->end = state.block_info.back().end + 1;
|
||||||
return result_out;
|
return characteristics;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue