title: WebGL: Texture access in a vertex shader?
body: <p>Is it possible to read from a texture in a <strong>vertex</strong> shader with WebGL?</p>
  
  <p>I wrote a <a href="http://steveharoz.com/test/webgl/" rel="noreferrer">WebGL page</a> (just to try it out) and used Chrome 7 to test it. As soon as I upgraded to Chrome 8, it stopped working. I double checked that webgl is enabled. The error is:</p>
  
  <blockquote>
    <p>'texture2D': no matching overloaded function found</p>
  </blockquote>
  
  <p>When I replace the call to texture2D with a constant, it works.
  Texture access in a fragment shader using the same texture also works.</p>
  
  <p>Anyone have any ideas? I'm particularly thrown by the fact that upgrading Chrome caused it to break.</p>
  
  <p><strong>Update:</strong> It works in firefox 4 beta. I reported a bug with Chrome - issue 65340</p>
  
  <p><strong>Update 2:</strong> It now works in Firefox and Chrome</p>