mesa: checkpoint: handle uniform vars in _slang_gen_var_decl()
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 15 Dec 2008 23:44:55 +0000 (16:44 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 6 Jan 2009 16:12:52 +0000 (09:12 -0700)
commitbe620a66eb7b9b0512c31d9a026fa6f8a7ab05a6
tree3811fc97196e2c0db41174d1f0ec13a1fa13398d
parentd0a39f3d65aeb04d750dfb0885e87da1185a9296
mesa: checkpoint: handle uniform vars in _slang_gen_var_decl()

This allows uniform declarations with scalar/array initializers.
The code is rough though, and will be cleaned up.

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