glsl: move and reused code to find first and last shaders
authorTimothy Arceri <timothy.arceri@collabora.com>
Sat, 21 Nov 2015 08:02:00 +0000 (19:02 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 24 Nov 2015 22:49:48 +0000 (09:49 +1100)
commit404ac4bf9e2e0ed388edc3553a6b9a31d59d7e03
tree874d192ab1c3a0b4d55a0412f1cfe5036df64a4c
parent0ce370a84b1c9381b34769dc4958e0ef413502f6
glsl: move and reused code to find first and last shaders

Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
src/glsl/linker.cpp