From: Vadim Girlin Date: Wed, 17 Jul 2013 08:10:40 +0000 (+0400) Subject: r600g/sb: fix debug dump code in scheduler X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=033eec4145df132b961b8e5c83e222424859db4d;p=mesa.git r600g/sb: fix debug dump code in scheduler Update the stale debug code for other changes related to debug output. Signed-off-by: Vadim Girlin --- diff --git a/src/gallium/drivers/r600/sb/sb_sched.cpp b/src/gallium/drivers/r600/sb/sb_sched.cpp index f99d64279f4..f0e41f58637 100644 --- a/src/gallium/drivers/r600/sb/sb_sched.cpp +++ b/src/gallium/drivers/r600/sb/sb_sched.cpp @@ -348,7 +348,8 @@ void alu_group_tracker::discard_slots(unsigned slot_mask, container_node &removed_nodes) { PSC_DUMP( - sblog << "discard_slots : packed_ops : " << packed_ops.size() << "\n"; + sblog << "discard_slots : packed_ops : " + << (unsigned)packed_ops.size() << "\n"; ); for (node_vec::iterator N, I = packed_ops.begin(); @@ -1848,9 +1849,9 @@ void literal_tracker::init_group_literals(alu_group_node* g) { g->literals.push_back(lt[i]); PSC_DUMP( - sblog << "literal emitted: " << lt[i].f - << " 0x" << std::hex << lt[i].u - << std::dec << " " << lt[i].i << "\n"; + sblog << "literal emitted: " << lt[i].f; + sblog.print_zw_hex(lt[i].u, 8); + sblog << " " << lt[i].i << "\n"; ); } }