mesa/src
Eric Anholt 71f06344a0 i965: Add a debug flag for counting cycles spent in each compiled shader.
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.

Note that this doesn't cover the instructions that set up the message to
the URB/FB write -- we'd need to convert the MRF usage in these
instructions to GRFs so that our offsets/times don't overwrite our
shader outputs.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)

v2: Check the timestamp reset flag in the VS, which is apparently
    getting set fairly regularly in the range we watch, resulting in
    negative numbers getting added to our 32-bit counter, and thus large
    values added to our uint64_t.
v3: Rebase on reladdr changes, removing a new safety check that proved
    impossible to satisfy.  Add a comment to the AOP defs from Ken's
    review, and put them in a slightly more sensible spot.
v4: Check timestamp reset in the FS as well.
2012-12-05 14:29:44 -08:00
..
egl egl/wayland: Dispatch the event queue before get_buffers 2012-11-30 17:05:50 -05:00
gallium r600g: use default action for min/max opcode in tgsi to llvm 2012-12-05 18:31:55 +01:00
gbm gbm: Use the kms dumb ioctls for cursor instead of libkms 2012-10-21 13:00:49 -04:00
getopt
glsl glsl: add new variable declaration in function body in lower_output_read 2012-12-05 18:23:42 +01:00
glx glx/dri2: add and use new driver hook flush_with_flags 2012-12-02 00:19:00 +01:00
gtest build: Fix gtest out-of-tree build 2012-08-14 10:54:39 -07:00
mapi mesa: Rename API_OPENGL to API_OPENGL_COMPAT. 2012-11-29 11:33:15 -08:00
mesa i965: Add a debug flag for counting cycles spent in each compiled shader. 2012-12-05 14:29:44 -08:00
.gitignore
Makefile.am
SConscript Remove libGLU 2012-08-31 10:58:15 -07:00