i965/vs: Add a pass to set dependency control fields on instructions.
authorEric Anholt <eric@anholt.net>
Sat, 1 Dec 2012 02:29:34 +0000 (18:29 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 1 Apr 2013 18:36:05 +0000 (11:36 -0700)
commit4fee05b020af72ee802d4349de76fbc36cdd53a9
treeecfe2d3d96455b50e7f6ca2612392f2f78bead28
parent229a51cdbe3128626fd359fe03722a55e40927d7
i965/vs: Add a pass to set dependency control fields on instructions.

This is a more aggressive version of the old brw_optimize() path.  Reduces
cycles spent in the vertex shader on minecraft by 18.6% +/- 10.0% (n=15).

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/brw_vec4_emit.cpp