linker: Move global instructions from the linked shader first
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 19 Jul 2010 19:33:54 +0000 (12:33 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 19 Jul 2010 19:36:32 +0000 (12:36 -0700)
commit9303e358cb3062f62c39961ebd4708bf63db03c1
treed9259f5ccbcc037fc772a76a902562646952aec7
parent5304493c40c5f450568fb518cb09940a72c1bc1d
linker: Move global instructions from the linked shader first

For the shader containing 'main', use the linked shader (i.e., the
clone of the original shader that contained main) as the source for
global instructions to move into main.
src/glsl/linker.cpp