glsl/linker: Link all out vars from a shader objects on a single stage
authorvadym.shovkoplias <vadym.shovkoplias@globallogic.com>
Tue, 28 Aug 2018 07:32:18 +0000 (10:32 +0300)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 29 Aug 2018 10:03:56 +0000 (20:03 +1000)
commit966a797e433120094e1e39693f1f17be8678d03e
tree1e67b7e64d0ca5c2e461dd23129b1517fe94fa2b
parent5a1c23d1502d275c4d554c586bf029e66131f4ac
glsl/linker: Link all out vars from a shader objects on a single stage

During intra stage linking some out variables can be dropped because
it is not used in a shader with the main function. But these out vars
can be referenced on later stages which can lead to further linking
errors.

Signed-off-by: Vadym Shovkoplias <vadym.shovkoplias@globallogic.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105731
src/compiler/glsl/linker.cpp