i965/vs: Pack live uniform vectors together in the push constant upload.
authorEric Anholt <eric@anholt.net>
Tue, 23 Aug 2011 19:13:14 +0000 (12:13 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 30 Aug 2011 19:09:40 +0000 (12:09 -0700)
commit72cfc6f3778d8297e52c254a5861a88eb62e4d67
tree21330b00f032226df2bc2b603db1b7e9f4247009
parent7c84b9d303345fa5075dba8c4ea7af449d93b0f8
i965/vs: Pack live uniform vectors together in the push constant upload.

At some point we need to also move uniform accesses out to pull
constants when there are just too many in use, but we lack tests for
that at the moment.

Fixes glsl-vs-large-uniform-array.

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
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp