Added spire to visualization lib.

Also added per-pass uniforms.