linker: Move global instructions from the linked shader first
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.

mapbox/glsl-optimizer,KTXSoftware/glsl2agal,wolf96/glsl-optimizer,adobe/glsl2agal,metora/MesaGLSLCompiler,jbarczak/glsl-optimizer,metora/MesaGLSLCompiler,benaadams/glsl-optimizer,jbarczak/glsl-optimizer,adobe/glsl2agal,mapbox/glsl-optimizer,benaadams/glsl-optimizer,zz85/glsl-optimizer,djreep81/glsl-optimizer,wolf96/glsl-optimizer,zz85/glsl-optimizer,zz85/glsl-optimizer,jbarczak/glsl-optimizer,djreep81/glsl-optimizer,wolf96/glsl-optimizer,benaadams/glsl-optimizer,KTXSoftware/glsl2agal,benaadams/glsl-optimizer,dellis1972/glsl-optimizer,tokyovigilante/glsl-optimizer,mcanthony/glsl-optimizer,mapbox/glsl-optimizer,wolf96/glsl-optimizer,dellis1972/glsl-optimizer,KTXSoftware/glsl2agal,zeux/glsl-optimizer,zz85/glsl-optimizer,metora/MesaGLSLCompiler,bkaradzic/glsl-optimizer,wolf96/glsl-optimizer,adobe/glsl2agal,bkaradzic/glsl-optimizer,tokyovigilante/glsl-optimizer,tokyovigilante/glsl-optimizer,zeux/glsl-optimizer,tokyovigilante/glsl-optimizer,KTXSoftware/glsl2agal,zeux/glsl-optimizer,djreep81/glsl-optimizer,jbarczak/glsl-optimizer,mapbox/glsl-optimizer,jbarczak/glsl-optimizer,dellis1972/glsl-optimizer,djreep81/glsl-optimizer,mcanthony/glsl-optimizer,zeux/glsl-optimizer,zz85/glsl-optimizer,zz85/glsl-optimizer,benaadams/glsl-optimizer,mcanthony/glsl-optimizer,KTXSoftware/glsl2agal,dellis1972/glsl-optimizer,adobe/glsl2agal,bkaradzic/glsl-optimizer,mcanthony/glsl-optimizer,bkaradzic/glsl-optimizer,dellis1972/glsl-optimizer,djreep81/glsl-optimizer,mapbox/glsl-optimizer,tokyovigilante/glsl-optimizer,bkaradzic/glsl-optimizer,adobe/glsl2agal,zeux/glsl-optimizer,mcanthony/glsl-optimizer,benaadams/glsl-optimizer