aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/sb
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/r600/sb')
-rw-r--r--src/gallium/drivers/r600/sb/sb_bc_dump.cpp2
-rw-r--r--src/gallium/drivers/r600/sb/sb_dump.cpp7
2 files changed, 8 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/sb/sb_bc_dump.cpp b/src/gallium/drivers/r600/sb/sb_bc_dump.cpp
index 9b2674daf27..de3c38805b8 100644
--- a/src/gallium/drivers/r600/sb/sb_bc_dump.cpp
+++ b/src/gallium/drivers/r600/sb/sb_bc_dump.cpp
@@ -157,6 +157,8 @@ void bc_dump::dump(cf_node& n) {
s << " ES:" << n.bc.elem_size;
+ s << " OP:" << n.bc.rat_inst;
+
if (n.bc.mark)
s << " MARK";
diff --git a/src/gallium/drivers/r600/sb/sb_dump.cpp b/src/gallium/drivers/r600/sb/sb_dump.cpp
index 70892e1c8c4..57dded5ef00 100644
--- a/src/gallium/drivers/r600/sb/sb_dump.cpp
+++ b/src/gallium/drivers/r600/sb/sb_dump.cpp
@@ -367,7 +367,12 @@ void dump::dump_op(node &n, const char *name) {
sblog << ", ";
}
- dump_vec(n.src);
+ if (n.subtype == NST_FETCH_INST) {
+ fetch_node *f = static_cast<fetch_node*>(&n);
+ if (f->bc.indexed)
+ dump_vec(n.src);
+ } else
+ dump_vec(n.src);
}
void dump::dump_set(shader &sh, val_set& v) {