From 033eec4145df132b961b8e5c83e222424859db4d Mon Sep 17 00:00:00 2001 From: Vadim Girlin Date: Wed, 17 Jul 2013 12:10:40 +0400 Subject: [PATCH] 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 --- src/gallium/drivers/r600/sb/sb_sched.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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"; ); } } -- 2.30.2