glsl: Remove name_declared_this_scope check when adding functions.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 25 Aug 2010 23:37:46 +0000 (16:37 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 26 Aug 2010 16:19:48 +0000 (09:19 -0700)
commite09591317b2470fe9c104606577d4e10255727c0
treeac45b1503b716dd13dc33079e7daf45d06891261
parente9c7ceed27f6811ad1cae46c93ce9bc3fb3668d8
glsl: Remove name_declared_this_scope check when adding functions.

Instead, rely on the symbol table's rules.

Fixes redeclaration-02.vert.
src/glsl/ast_to_hir.cpp