GLSL: Fix all known code generation issues.