diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2010-08-20 02:04:52 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2010-08-20 02:46:05 -0700 |
commit | 826a39cb14244820e8539a2328bb52447348f184 (patch) | |
tree | 16cdd90a9d310ec9047b2cf2f4379fa593688658 /src/glsl/glcpp/glcpp-lex.l | |
parent | e0ef4800f5deb81ed57dccf8ba39e01c12f4beff (diff) |
ast_to_hir: Fix crash when a function shadows a variable.
The code would attempt to add a new signature to the ir_function, which
didn't exist. Simply bailing out/returning early seems reasonable.
Fixes piglit test redeclaration-02.vert, and fixes a crash in
redeclaration-03.vert (the test still fails).
Diffstat (limited to 'src/glsl/glcpp/glcpp-lex.l')
0 files changed, 0 insertions, 0 deletions