mesa: initial support for uniform variable initializers.
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 10 Nov 2008 18:42:42 +0000 (11:42 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 6 Jan 2009 15:38:29 +0000 (08:38 -0700)
commitde445478915af41e1e078cbb8c2cbcce340f83b6
treeb1df08e658cb3651c6703ff8c1e20f38e593a7e7
parentc478a1baca0d97b03f391361dfeb953939f245d4
mesa: initial support for uniform variable initializers.

This lets one specify initial values for uniforms in the code, avoiding
the need to call glUniform() in some cases.

(cherry picked from commit 379ff8c9567940ebff44870cf7b0202882445fa6)
src/mesa/shader/slang/slang_codegen.c