i965: Make batch dumping go to stderr, too.
authorEric Anholt <eric@anholt.net>
Thu, 1 May 2014 16:12:10 +0000 (09:12 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 3 May 2014 00:01:40 +0000 (17:01 -0700)
All our other debug goes there.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_batchbuffer.c

index 5a7cfcb1a93b09391d940c6b697b0e8aebf572b7..818ac61cd5d3a8a2e9588b9c21a2d996798225e3 100644 (file)
@@ -143,6 +143,7 @@ do_batch_dump(struct brw_context *brw)
                                         batch->used);
    }
 
+   drm_intel_decode_set_output_file(decode, stderr);
    drm_intel_decode(decode);
 
    drm_intel_decode_context_free(decode);