Find all uniforms and attributes in a glsl shader