title: GLSL - Equivalent Of "layout (location = 1)" In #version 130
body: <p>I am reading a tutorial about openGL 3.3 (where naturally GLSL 330 is in use). Unfortunately my hardware is limited to openGL 3.0 (where GLSL 130 is the newest format). In GLSL 130 the syntax </p>
  
  <pre><code>layout (location = 1) in vec4 position;
  </code></pre>
  
  <p>produces an error. Most importantly a code where several instances of "layout" are applied to different variables does not work. I even tried </p>
  
  <pre><code>#extension ARB_explicit_attrib_location : require
  </code></pre>
  
  <p>which is also not supported. Is there a way to rewrite these statements from 330 in 130 equivalently?</p>