summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/sb
diff options
context:
space:
mode:
authorVadim Girlin <[email protected]>2013-07-17 12:10:40 +0400
committerVadim Girlin <[email protected]>2013-07-17 18:27:31 +0400
commit033eec4145df132b961b8e5c83e222424859db4d (patch)
tree424f385b79385432c72be1e98129f3cd8122172f /src/gallium/drivers/r600/sb
parent44ebe7291ccd100f9e2ad8d5b7f86e9844ad6f3c (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/sb')
-rw-r--r--src/gallium/drivers/r600/sb/sb_sched.cpp9
1 files 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";
);
}
}