i965/fs: Switch shader_time writes to using GRFs.
authorEric Anholt <eric@anholt.net>
Tue, 19 Mar 2013 22:28:11 +0000 (15:28 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 28 Mar 2013 18:46:15 +0000 (11:46 -0700)
commit5c5218ea6163f694a256562df1d73a108396e40d
treeea553484728b0e23448c31842a516b7af1759840
parent5c039543db25ab8aa7b4ca1afa2462e5bcee80b2
i965/fs: Switch shader_time writes to using GRFs.

This avoids conflicts between shader_time and FB writes, so we can include
more of the program under our profiling.  This does mean hiding more of
the message setup from the optimizer, which doesn't have a way to handle
multi-reg sends from GRFs.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_eu.h
src/mesa/drivers/dri/i965/brw_eu_emit.c
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_emit.cpp
src/mesa/drivers/dri/i965/brw_vec4_emit.cpp