commit | 09a4ba0fc31fa8fc193dfb7b4fd78e32722b8312 | [log] [tgz] |
---|---|---|
author | Ian Romanick <ian.d.romanick@intel.com> | Fri Mar 04 16:15:20 2011 -0800 |
committer | Ian Romanick <ian.d.romanick@intel.com> | Fri Mar 04 16:33:31 2011 -0800 |
tree | f79060cef6ea1eb3018fc2bad71f9ebb25a009de | |
parent | 0292ffb85c03e9fa15b9395e3875109dd8979292 [diff] |
glsl: Process redeclarations before initializers If an array redeclaration includes an initializer, the initializer would previously be dropped on the floor. Instead, directly apply the initializer to the correct ir_variable instance and append the generated instructions. Fixes bugzilla #34374 and piglit tests glsl-{vs,fs}-array-redeclaration. NOTE: This is a candidate for stable release branches. 0292ffb8 and 8e6cb9fe are also necessary.