glsl: Translate the AST for uniform blocks into some IR structures.