Closed
Bug 579529
Opened 14 years ago
Closed 14 years ago
fix validation Uniform and VertexAttrib functions taking arrays
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
mozilla2.0b4
Tracking | Status | |
---|---|---|
blocking2.0 | --- | betaN+ |
People
(Reporter: bjacob, Assigned: bjacob)
Details
Attachments
(1 file)
1.84 KB,
patch
|
vlad
:
review+
|
Details | Diff | Splinter Review |
E.g. this page, http://www.khronos.org/opengles/sdk/2.0/docs/man/glUniform.xml mentions several things we're not currently checking. Most importantly, we're not actually checking that the passed array is big enough, we only have a strange 'modulo' check that I can't match with anything in the GLES docs. As a result, tests are failing, e.g. gl-uniformmatrix4fv.html reports: Checking gl.uniformMatrix. FAIL should fail with insufficient array size for uniformMatrix2fv
Assignee | ||
Comment 1•14 years ago
|
||
Actually, the only problem seems to be that we generate INVALID_OPERATION and the test expects INVALID_VALUE and has a very confusing error message. This patch changes that, and also improves a bit our own error message.
Attachment #457995 -
Flags: review?(vladimir)
Assignee | ||
Comment 2•14 years ago
|
||
cool, confirming that with this patch, gl-uniformmatrix4fv.html is all green.
Attachment #457995 -
Flags: review?(vladimir) → review+
Assignee | ||
Updated•14 years ago
|
Attachment #457995 -
Flags: approval2.0?
Assignee | ||
Comment 3•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/f0a62833d988 But please approve!
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Attachment #457995 -
Flags: approval2.0?
Updated•14 years ago
|
blocking2.0: --- → betaN+
Updated•14 years ago
|
Target Milestone: --- → mozilla2.0b4
You need to log in
before you can comment on or make changes to this bug.
Description
•