i965/fs: Include everything but the final FB write in shader_time.
authorEric Anholt <eric@anholt.net>
Tue, 19 Mar 2013 22:14:20 +0000 (15:14 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 28 Mar 2013 18:46:23 +0000 (11:46 -0700)
commit47e795d8612e5fde70740450d02370514ecc79e3
tree77cdbc39db853cf43ac062b7331940e45efef43c
parent5c5218ea6163f694a256562df1d73a108396e40d
i965/fs: Include everything but the final FB write in shader_time.

Previously, if you just wrote a constant color to the render target, no
time got noted at all.  This is convenient for doing single-instruction
timings, but not so much for actual program analysis.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp