diff options
author | Ian Romanick <[email protected]> | 2011-03-04 16:15:20 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-03-04 16:33:31 -0800 |
commit | 09a4ba0fc31fa8fc193dfb7b4fd78e32722b8312 (patch) | |
tree | f79060cef6ea1eb3018fc2bad71f9ebb25a009de /src/mesa | |
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.
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions