summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-12-22 23:29:31 -0800
committerEric Anholt <eric@anholt.net>2014-02-22 19:23:21 -0800
commita76e5dce4fc8d50f8699c108833f24e80167d706 (patch)
tree1518cbcd4155eeff04dea015ec5f8f5837bf0d04 /src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp
parent1e3bd9f9a5af90295788c5d71ea27c61eb7bd984 (diff)
i965: Move compiler debugging output to stderr.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp b/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp
index ff7aa805512..78dcc3e2d84 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp
@@ -318,7 +318,7 @@ ir_vector_splitting_visitor::visit_leave(ir_assignment *ir)
elem = 3;
break;
default:
- ir->print();
+ ir->fprint(stderr);
assert(!"not reached: non-channelwise dereference of LHS.");
}
@@ -347,9 +347,9 @@ brw_do_vector_splitting(exec_list *instructions)
variable_entry *entry = (variable_entry *)node;
if (debug) {
- printf("vector %s@%p: decl %d, whole_access %d\n",
- entry->var->name, (void *) entry->var, entry->declaration,
- entry->whole_vector_access);
+ fprintf(stderr, "vector %s@%p: decl %d, whole_access %d\n",
+ entry->var->name, (void *) entry->var, entry->declaration,
+ entry->whole_vector_access);
}
if (!entry->declaration || entry->whole_vector_access) {