title: Webgl shader attrib type not matched
body: <p>I have a buffer like this use it in instancing of a curve geometry 
  <code>
  Distance: {
      numComponents: 1,
      data: new Uint8Array(0),
      type: gl.BYTE , // signed byte
      normalize: true,
      divisor: 1
  }
  </code></p>
  
  <p>vertex shader is:  </p>
  
  <pre><code>#version 300 es
  
  precision highp float;
  precision highp int;
  
  in  vec2 Pos;
  in  vec2 Center;
  in  mat2 Rotate;
  in  float Length;
  in  float Size;
  in  float Distance;
  
  uniform float zoom;
  uniform vec2 scale;
  uniform float ratio;
  uniform vec2 resolution;
  uniform vec2 move;
  
  void main() {        
      // setting the gl_Position
  }
  </code></pre>
  
  <p>and Fragment shader is:</p>
  
  <pre><code>#version 300 es
  
  precision highp float;
  precision highp int;
  
  out vec4 FragColor;
  
  void main() {
      FragColor = vec4( 1.0 , vec2(0.0), 1.0 ) ;
  }
  </code></pre>
  
  <p>when I run the code it give me no error but just one warning which is </p>
  
  <p><code>[.Offscreen-For-WebGL-00000200FD87E610]GL ERROR :GL_INVALID_OPERATION : glDrawArraysIntancedANGLE: vertexAttrib function must match shader attrib type</code></p>
  
  <p>can any body help me what am I do wrong?</p>
  
  <p>Thanks in advance</p>