ir_to_mesa: Propagate initial values in _mesa_associate_uniform_storage
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 9 Apr 2012 18:19:24 +0000 (11:19 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 23 May 2012 18:42:08 +0000 (11:42 -0700)
commitc343b980d615bb3a159e0adc6e7597f2f9865323
treec5b99659365859b048f4388bac0641b95c468e90
parent76027f5b5cd8017f8455e2df375fcea7cc888dce
ir_to_mesa: Propagate initial values in _mesa_associate_uniform_storage

The linker may have set initial values for uniforms.  Propagate these
values to the driver's backing storage when it is first associated.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/program/ir_to_mesa.cpp