i965: Print a total time for the different shader stages.
authorEric Anholt <eric@anholt.net>
Mon, 10 Dec 2012 18:22:41 +0000 (10:22 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 14 Dec 2012 23:05:10 +0000 (15:05 -0800)
commit81c247404a232d17e94ec1b435c0f2be47877778
tree0a7609dcde92128d63fa71286e2bde2980ca903f
parentf74560f3fb516971e6a7b03a2382db2f58699f59
i965: Print a total time for the different shader stages.

Sometimes I've got a patch for a performance optimization that's not
showing a statistically significant performance difference on reported
FPS, but still seems like a good idea because it ought to reduce time
spent in the shader.  If I can see the total number of cycles spent in
the shader stage being optimized, it may show that the patch is still
worthwhile (or point out that it's actually broken in some way).
src/mesa/drivers/dri/i965/brw_program.c