I need to switch between different programobjects that basically share many uniforms. ARB_vertex_program allowed that different programs could share information via "program environment" parameters. glSlang doesn´t seem to support that. The only way I see is to (ab)use some of the built-in gl-state uniforms to (constant)information between different program-objects.
Is there a better way?

thx