Abstract the common transform related shader code into prim_shared.glsl.
1a1b228
This is the first step in adding transform support for other primitive types, as well as optimizing the performance of the 3d transform shader.