Closed Bug 1325685 Opened 6 years ago Closed 6 years ago

WebGL conformance test conformance/textures/misc/cube-incomplete-fbo failure


(Core :: Graphics: CanvasWebGL, defect)

Not set



Tracking Status
firefox51 --- wontfix
firefox52 --- fixed
firefox53 --- fixed


(Reporter: kvark, Assigned: kvark)


(Blocks 1 open bug, )


(Whiteboard: [gfx-noted])


(1 file, 1 obsolete file)

I scanned the GL ES 3.0 specification and couldn't figure out why exactly the cube face being a framebuffer attachment has to require the whole cube texture to be complete.

Related Chromium issue -
Whiteboard: [gfx-noted]
Also relevant discussion -
Basically, the spec is ambiguous, and WebGL2 follows the most conservative restrictions.
Attached patch webgl-cube-attach.patch (obsolete) — Splinter Review
Assignee: nobody → kvark
Attachment #8822190 - Flags: review?(jgilbert)
I actually think the spec is not too ambiguous here. The spirit of the restriction seems clear, particularly with the OpenGL version of the restriction using a semi-colon for clarity.
Attachment #8822190 - Flags: review?(jgilbert) → review+
try results:

Not sure if I need to change the mochitest-errata in a separate patch here?
Flags: needinfo?(jgilbert)
Keywords: checkin-needed
The Try push has test failures that need to be resolved before this can land.
Keywords: checkin-needed
New try results are clean:

I wish someone looks into my mochitest-errata changes though before merging.
Flags: needinfo?(jgilbert)
Keywords: checkin-needed
Attachment #8822190 - Attachment is obsolete: true
Comment on attachment 8825459 [details] [diff] [review]
Ensure the cube attachment is complete.

Review of attachment 8825459 [details] [diff] [review]:

When you upload a fix to an r+'d patch, set r+ on the new patch. (unless there's enough changes to warrant re-review) This helps our sheriffs know what/when they can land.
Attachment #8825459 - Flags: review+
Pushed by
Ensure the cube attachment is complete. r=jgilbert
Keywords: checkin-needed
Comment on attachment 8825459 [details] [diff] [review]
Ensure the cube attachment is complete.

Approval Request Comment
[Feature/Bug causing the regression]: WebGL 2
[User impact if declined]: Possible behavior differences between os/driver/browsers.
[Is this code covered by automated tests?]: Yes, included here.
[Has the fix been verified in Nightly?]:
[Needs manual test from QE? If yes, steps to reproduce]: 
[List of other uplifts needed for the feature/fix]:
[Is the change risky?]: Not risky.
[Why is the change risky/not risky?]: It's a very clear patch that touches little else.
[String changes made/needed]: none
Attachment #8825459 - Flags: approval-mozilla-aurora?
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Comment on attachment 8825459 [details] [diff] [review]
Ensure the cube attachment is complete.

webgl2 fix for aurora52
Attachment #8825459 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
You need to log in before you can comment on or make changes to this bug.