glsl: Allow non-constant expression initializers of const-qualified vars.
authorMatt Turner <mattst88@gmail.com>
Thu, 23 May 2013 18:48:40 +0000 (11:48 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 8 Jul 2013 19:46:56 +0000 (12:46 -0700)
commitba7b60d3e4a89558dc1b514e7611f17d238a2abc
tree3066d4a48995a567ff952afd4ae1335d93cbdcfa
parent1faa37557373aa29169aa4e3b95c6dcf5aced025
glsl: Allow non-constant expression initializers of const-qualified vars.

Required by ARB_shading_language_420pack.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ast_to_hir.cpp