The new linker actually does a few things right now:
authorBrian <brian@yutani.localnet.net>
Thu, 14 Dec 2006 20:58:32 +0000 (13:58 -0700)
committerBrian <brian@yutani.localnet.net>
Thu, 14 Dec 2006 20:58:32 +0000 (13:58 -0700)
commitd4f7e4cc01a99811565dc8f488cdad972e926b6c
treee82007e3d667c41a852c7f9356141a1d9fe88f8f
parentb2a3a8554a114d93691d5350c234d2022c2c2916
The new linker actually does a few things right now:
The varying vars used by the vertex and fragment shader are merged so they
agree.
Similarly, uniforms are merged (along with constants, etc).
The vertex/fragment program instructions are then cloned and rewritten
with the newly resolved uniform/varying locations.
src/mesa/shader/slang/slang_link2.c