Closed Bug 2078297 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63280 - webgl: Read WebGL 2 *_BITS from the draw framebuffer attachments

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox160 fixed)

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 63280 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/63280
Details from upstream follow.

mxmgorin <102797145+mxmgorin@users.noreply.github.com> wrote:

webgl: Read WebGL 2 *_BITS from the draw framebuffer attachments

This makes WebGL 2 getParameter read *_BITS from the draw framebuffer's attachments, as described in ES 3.0 (4.4.5). Previously they were passed to glGetIntegerv, which rejects them in the core profile used for WebGL 2, so they returned 0 and left an INVALID_ENUM pending.

Testing: More subtests pass in framebuffer-object-attachment.html. Added webgl/webgl2-drawing-buffer-bits.html for the default framebuffer.
Reviewed in servo/servo#48651

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 12 tests and 2 subtests

Status Summary

Firefox

OK : 1
PASS: 2

Chrome

OK : 1
PASS: 2

Safari

OK : 1
PASS: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/8f020054b885 https://hg.mozilla.org/integration/autoland/rev/125969b6fd73 [wpt PR 63280] - webgl: Read WebGL 2 *_BITS from the draw framebuffer attachments, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.