Closed Bug 2080045 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63415 - webgl: Return null from getUniformLocation for uniform block members

Categories

(Core :: Graphics: CanvasWebGL, task, P4)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

webgl: Return null from getUniformLocation for uniform block members

This makes getUniformLocation return null for members of a named uniform block, as described in OpenGL ES 3.0 (2.12.6). Previously the WebGL thread turned GL's missing location into location 0, and getUniform using that location crashed the WebGL thread.

Testing: Added a WPT test, which fails without this change.
Reviewed in servo/servo#48751

Component: web-platform-tests → Graphics: CanvasWebGL
Product: Testing → Core
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 20 tests

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/2daa2d22ad80 https://hg.mozilla.org/integration/autoland/rev/3e4d871e7d5a [wpt PR 63415] - webgl: Return null from getUniformLocation for uniform block members, 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.