Skip to content
Snippets Groups Projects
Commit 10a83653 authored by ReinUsesLisp's avatar ReinUsesLisp
Browse files

decode/texture: Address feedback

parent 4504302a
No related branches found
No related tags found
No related merge requests found
...@@ -597,6 +597,7 @@ Node4 ShaderIR::GetTldCode(Tegra::Shader::Instruction instr) { ...@@ -597,6 +597,7 @@ Node4 ShaderIR::GetTldCode(Tegra::Shader::Instruction instr) {
const Node array_register{is_array ? GetRegister(gpr8_cursor++) : nullptr}; const Node array_register{is_array ? GetRegister(gpr8_cursor++) : nullptr};
std::vector<Node> coords; std::vector<Node> coords;
coords.reserve(coord_count);
for (std::size_t i = 0; i < coord_count; ++i) { for (std::size_t i = 0; i < coord_count; ++i) {
coords.push_back(GetRegister(gpr8_cursor++)); coords.push_back(GetRegister(gpr8_cursor++));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment