title: Pass array to shader
body: <p>I create my array this.kernel: it hast 48 elements and I want to pass it to my fragment shader. </p>
  
  <p>When i call </p>
  
  <pre><code> gl.uniform3fv(gl.getUniformLocation(this.program, "kernel"), 16, this.kernel);
  </code></pre>
  
  <p>kernel is defined in my shader: </p>
  
  <pre><code>uniform vec3 kernel[16]; 
  </code></pre>
  
  <p>I get an error for not enough arguments.
  I already looked up the specification etc, but don't find my problem -.-</p>
  
  <pre><code>void glUniform3fv(  GLint  location, GLsizei  count, const GLfloat * value);
  </code></pre>
  
  <p>Thanks for help</p>
  
  <p>€: I converted this.kernel to a float32array but I still have this error.</p>
  
  <p>€2: error in Chrome: not enough arguments</p>
  
  <p>in Firefox: NS_ERROR_XPC_BAD_CONVERT_JS: Could not convert JavaScript argument </p>