Khronos Public Bugzilla
Bug 618 - Need tests ensuring all typed array types match float[]
Need tests ensuring all typed array types match float[]
Status: NEW
Product: WebGL
Classification: Unclassified
Component: Conformance Tests
unspecified
All All
: P3 normal
: ---
Assigned To: 3dweb Working Group email alias
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-09 17:30 PDT by Kenneth Russell
Modified: 2012-04-09 17:30 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Russell 2012-04-09 17:30:35 PDT
Per discussion on the public_webgl list -- see https://www.khronos.org/webgl/public-mailing-list/archives/1204/threads.html#00026 -- the Web IDL specification has been updated in a way that makes the following overloads for uniform1fv and related methods legal:

  void uniform1fv(WebGLUniformLocation? location, Float32Array v);
  void uniform1fv(WebGLUniformLocation? location, float[] v);

For the relevant diffs to Web IDL, see:

  http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.512;r2=1.515;f=h
  http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.515;r2=1.516;f=h

and possibly following edits.

The WebGL conformance tests need to be updated to verify that all of the other typed array types can be passed in to these functions, and that the float[] variant is matched during overload resolution.