OSDN Git Service

i965: Generalize VS compute-to-MRF for compute-to-another-GRF, too.
authorEric Anholt <eric@anholt.net>
Thu, 2 Aug 2012 02:35:18 +0000 (19:35 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 15 Dec 2012 00:06:35 +0000 (16:06 -0800)
commitc9e48e5b083b6cf97ecdb2d17c874ea631203b06
tree5c29717096b968c3ba3fa292a52d19f90f63dea3
parent471af25fc57dc43a8277b4b17ec82547287621d0
i965: Generalize VS compute-to-MRF for compute-to-another-GRF, too.

No statistically significant performance difference on glbenchmark 2.7
(n=60).  It reduces cycles spent in the vertex shader by 3.3% +/- 0.8%
(n=5), but that's only about .3% of all cycles spent according to the
fixed shader_time.

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