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