Re: [Mesa-dev] [PATCH 6/6] i965: Add a debug flag for counting cycles spent in each compiled shader.

2012-11-30 Thread Kenneth Graunke
On 11/30/2012 01:24 PM, Eric Anholt wrote: This can be used for two purposes: Using hand-coded shaders to determine per-instruction timings, or figuring out which shader to optimize in a whole application. On the psychonauts trace, we see: type ID cycles spent % of tota

[Mesa-dev] [PATCH 6/6] i965: Add a debug flag for counting cycles spent in each compiled shader.

2012-11-30 Thread Eric Anholt
This can be used for two purposes: Using hand-coded shaders to determine per-instruction timings, or figuring out which shader to optimize in a whole application. On the psychonauts trace, we see: type ID cycles spent % of total ... fs16 543: 339343898369 ( 339.34 Gc