i965/vs: Pack uniform registers before optimization
authorEric Anholt <eric@anholt.net>
Wed, 7 Sep 2011 05:13:20 +0000 (22:13 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 9 Sep 2011 04:34:03 +0000 (21:34 -0700)
commitf3ed973f53d2a621d915de2cdc8e09c0755db016
treefa00f4048b40f45d925478de056bad9e8d8a40f5
parent14081695137c095f0a8430779ecb09165bec6455
i965/vs: Pack uniform registers before optimization

We don't expect uniform accesses to generally go away from being dead
code at this point, and we will want to have uniforms packed before
spilling them out to pull constants when we are forced to do that.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vec4_emit.cpp