diff options
author | Eric Anholt <eric@anholt.net> | 2010-05-03 17:26:14 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-06-24 15:05:19 -0700 |
commit | b7abce770fe9bb09a6f435d35c1a4afd134fa855 (patch) | |
tree | 73d2e6e46f15c3a18d42da1cdb489912299d1825 /mesa | |
parent | 34195832669f0eb7c4a80997cc524f8d10319307 (diff) |
ir_to_mesa: Print out the ir along with the Mesa IR.
Ideally this would be hooked up by ir_print_visitor dumping into a
string that we could include as prog_instruction->Comment when in
debug mode, and not try keeping ir_instruction trees around after
conversion to Mesa. The ir_print_visitor isn't set up to do that for
us today.
Diffstat (limited to 'mesa')
-rw-r--r-- | mesa/shader/prog_print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesa/shader/prog_print.c b/mesa/shader/prog_print.c index 9ac090b261..3f1cb48e4b 100644 --- a/mesa/shader/prog_print.c +++ b/mesa/shader/prog_print.c @@ -833,7 +833,7 @@ void _mesa_print_instruction(const struct prog_instruction *inst) { /* note: 4th param should be ignored for PROG_PRINT_DEBUG */ - _mesa_fprint_instruction_opt(stderr, inst, 0, PROG_PRINT_DEBUG, NULL); + _mesa_fprint_instruction_opt(stdout, inst, 0, PROG_PRINT_DEBUG, NULL); } #if 0 |