r600/sfn: use modern c++ in printing LDS read instruction

Closes #3021

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5187>
This commit is contained in:
Gert Wollny 2020-05-23 18:04:35 +02:00 committed by Marge Bot
parent eccf939b6f
commit 12381a0410
1 changed files with 4 additions and 4 deletions

View File

@ -5,11 +5,11 @@ namespace r600 {
void LDSReadInstruction::do_print(std::ostream& os) const
{
os << "LDS Read [";
for (unsigned i = 0; i < m_address.size(); ++i)
os << *m_dest_value[i] << " ";
for (auto& v : m_dest_value)
os << *v << " ";
os << "], ";
for (unsigned i = 0; i < m_address.size(); ++i)
os << *m_address[i] << " ";
for (auto& a : m_address)
os << *a << " ";
}
LDSReadInstruction::LDSReadInstruction(std::vector<PValue>& address, std::vector<PValue>& value):