i965/fs: Add support for 16-wide dispatch with uniforms in use.
authorEric Anholt <eric@anholt.net>
Wed, 23 Mar 2011 19:50:53 +0000 (12:50 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 26 Apr 2011 19:20:05 +0000 (12:20 -0700)
commit3b20f999bb7e9056e83ca09a842a9747d4ac1674
treee2c1f020d2b6fe3c321d7d96407c39249b5cfb70
parentb061b5ffb055c64ffc45e506bad877f47942ba01
i965/fs: Add support for 16-wide dispatch with uniforms in use.

This is glued in in a bit of an ugly way -- we rely on the uniforms
having been set up by 8-wide dispatch, and we just reuse them without
the ability to add new uniforms for any reason, since the 8-wide
compile is already completed.  Today, this all works out because our
optimization passes are effectively the same for both and even if they
weren't, we don't reduce the set of uniforms pushed after
optimization.

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