i965: Provide more detailed information to match shader_time to programs.
authorEric Anholt <eric@anholt.net>
Tue, 19 Mar 2013 21:28:29 +0000 (14:28 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 28 Mar 2013 18:46:11 +0000 (11:46 -0700)
commit5c039543db25ab8aa7b4ca1afa2462e5bcee80b2
treec1bff30e1099ce38db5879d518357f74a7db7892
parentd2ba1c24b440ee74436335d8e815be9b72b1ba7f
i965: Provide more detailed information to match shader_time to programs.

Ken asked me the other day what -1 vs 0 vs 3 vs other meant in our shader
names, and I realized that it was really unclear.  I'd like to do even
better, like noting which one is the clear shader, but that would require
exposing the metaops struct to the driver.

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