intel: Make the batchbuffer flush debug more useful.
authorEric Anholt <eric@anholt.net>
Fri, 16 Dec 2011 21:42:39 +0000 (13:42 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 29 Dec 2011 17:33:56 +0000 (09:33 -0800)
commitb890f1090c6d640605d5c45cfcf71cef91d59865
treec531e075a8d1888007580a6f40882b74287fc22d
parent7f854a5028ef00a0e041e78a770456204dc58eef
intel: Make the batchbuffer flush debug more useful.

We were printing out the line triggering the flush, but a variety of
different causes just printed the line number for intel_flush()'s call
of intel_batchbuffer_flush().  Plumb the line numbers from the caller
of intel_flush() on through.
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_context.h