Closed Bug 845368 Opened 12 years ago Closed 12 years ago

Generic vertex attribs should have a size of 4

Categories

(Core :: Graphics: CanvasWebGL, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: jgilbert, Assigned: jgilbert)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

The failing test is state/gl-get-calls.html in the 1.0.2 WebGL Conf Test Suite: failed: context.getVertexAttrib(ii, context.VERTEX_ATTRIB_ARRAY_SIZE) should be 4. Was 0. This is really vague in the GLES2 spec, with the only decent reference being in the default state table.
Attached patch patch (obsolete) (deleted) — Splinter Review
Assignee: nobody → jgilbert
Status: NEW → ASSIGNED
Attachment #718459 - Flags: review?(bjacob)
Comment on attachment 718459 [details] [diff] [review] patch Review of attachment 718459 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/canvas/src/WebGLContext.cpp @@ +563,5 @@ > // Make sure that we clear this out, otherwise > // we'll end up displaying random memory > gl->fBindFramebuffer(LOCAL_GL_FRAMEBUFFER, 0); > > + gl->fScissor(0, 0, mWidth, mHeight); Oops, this is for fixing a different bug.
Attachment #718459 - Flags: review?(bjacob) → review-
Attached patch patch (deleted) — Splinter Review
Attachment #718459 - Attachment is obsolete: true
Attachment #718562 - Flags: review?(bjacob)
Attachment #718562 - Flags: review?(bjacob) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: