decode/texture: Address feedback

This commit is contained in:
ReinUsesLisp 2019-06-24 02:05:05 -03:00
parent 4504302abc
commit 10a83653ee

View file

@ -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++));
} }