Closed Bug 1305864 Opened 9 years ago Closed 8 years ago

Assert in conformance2/textures/misc/tex-input-validation.html

Categories

(Core :: Graphics: CanvasWebGL, defect, P1)

Unspecified
Windows
defect

Tracking

()

RESOLVED FIXED
mozilla53
Tracking Status
firefox51 --- fixed
firefox52 --- fixed
firefox53 --- fixed

People

(Reporter: jgilbert, Assigned: jgilbert)

References

Details

(Whiteboard: gfx-noted)

Attachments

(1 file)

ANGLE doesn't like that the source and dest formats for CopyTexSubImage have different component sizes. (RGB5_A1 and RGBA8 respectively) It's really hard to tell if the spec allows this or not, assuming RGBA8 was originally unsized RGBA. Effective formats are technically different from sized and unsized formats, though effective formats are always effectively sized. CopyTexImage specifies which effective format is chosen when an unsized internalformat is used. Chrome passes this test somehow. Perhaps we always use a sized format when we can?
Sadly, it sounds like we must store the internal format and effective internal format separately: GLES 3.0.4 p160: "The internal formats and effective internal formats of the derived mipmap arrays all match those of the `level_base` array, and the dimensions of the derived arrays follow the requirements described in section 3.8.13."
OS: Unspecified → Windows
Passes on OSX.
Comment on attachment 8820096 [details] Bug 1305864 - Catch INVALID_OP from bad-format CopyTexSubImage in ANGLE for now. - https://reviewboard.mozilla.org/r/99620/#review100084 LGTM
Attachment #8820096 - Flags: review?(dmu) → review+
Pushed by jgilbert@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/8a706bd4d28b Catch INVALID_OP from bad-format CopyTexSubImage in ANGLE for now. - r=daoshengmu
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Comment on attachment 8820096 [details] Bug 1305864 - Catch INVALID_OP from bad-format CopyTexSubImage in ANGLE for now. - Approval Request Comment [Feature/Bug causing the regression]: webgl2 [User impact if declined]: [Is this code covered by automated tests?]: [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?]: [Why is the change risky/not risky?]: [String changes made/needed]:
Attachment #8820096 - Flags: approval-mozilla-beta?
Attachment #8820096 - Flags: approval-mozilla-aurora?
Comment on attachment 8820096 [details] Bug 1305864 - Catch INVALID_OP from bad-format CopyTexSubImage in ANGLE for now. - Fix WebGL2 related issue. Beta51+ & Aurora52+. Should be in 51 beta 10.
Attachment #8820096 - Flags: approval-mozilla-beta?
Attachment #8820096 - Flags: approval-mozilla-beta+
Attachment #8820096 - Flags: approval-mozilla-aurora?
Attachment #8820096 - Flags: approval-mozilla-aurora+
Check-in: https://hg.mozilla.org/releases/mozilla-aurora/rev/882a3059bd47 - Jeff Gilbert - Bug 1305864 - Catch INVALID_OP from bad-format CopyTexSubImage in ANGLE for now. - r=daoshengmu. a=gchang
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: