glsl: Use the utility function to copy symbols between symbol tables
authorEduardo Lima Mitev <elima@igalia.com>
Sun, 5 Mar 2017 19:28:42 +0000 (20:28 +0100)
committerNeil Roberts <nroberts@igalia.com>
Mon, 30 Oct 2017 17:10:39 +0000 (18:10 +0100)
commitf5fe99ac85e15b705612bd9e7599cc974c2a121b
treeb139f026c3dbc034d1b7422b2cfc60f622238847
parent4c62a270a99d443316e29020377465a90a6968c0
glsl: Use the utility function to copy symbols between symbol tables

This effectively factorizes a couple of similar routines.

v2 (Neil Roberts): Non-trivial rebase on master

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Eduardo Lima Mitev <elima@igalia.com>
Signed-off-by: Neil Roberts <nroberts@igalia.com>
src/compiler/glsl/glsl_parser_extras.cpp
src/compiler/glsl/linker.cpp