title: Accessing same-named uniform in vertex and fragment shaders fails
body: <p>I'm still very inexperienced with shaders but I'm climbing the learning curve well.</p>
  
  <p>Something I've stumbled upon this morning is an effort to use a same-named uniform in both fragment and vertex shaders.</p>
  
  <p>The uniform can be defined in both shaders, but it can only be accessed exclusively in one or the other shader, but not both.  If I try to access the shader in both, the program does not compile.</p>
  
  <p>The last idea I had was they are compiled as separate symbols, but I don't know how to get access to them except by glGetUniformLocation.  Calling that twice with the same string returns the same uniform location... not a great help.</p>
  
  <p>The shaders are pretty simple, and everything works perfectly except for the single line work-or-not tests that have no effect on the rendering.</p>
  
  <p>Is there a special approach for using the same-named uniform with same value between the two shaders?</p>