[wpt-sync] Sync PR 63415 - webgl: Return null from getUniformLocation for uniform block members
Categories
(Core :: Graphics: CanvasWebGL, task, P4)
Tracking
()
| 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
getUniformLocationreturnnullfor 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, andgetUniformusing that location crashed the WebGL thread.Testing: Added a WPT test, which fails without this change.
Reviewed in servo/servo#48751
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=102674
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 2•1 month ago
|
||
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
- /webgl/basic-unused-context-crash.html [wpt.fyi]:
SKIP - /webgl/blitFramebuffer-presents-drawing-buffer.html [wpt.fyi]:
SKIP - /webgl/clearBufferfv-presents-drawing-buffer.html [wpt.fyi]:
SKIP - /webgl/bufferSubData.html [wpt.fyi]:
SKIP - /webgl/compressed-tex-sub-image-2d-without-base-image.html [wpt.fyi]:
SKIP - /webgl/compressedTexImage2D.html [wpt.fyi]:
SKIP - /webgl/compressedTexSubImage2D.html [wpt.fyi]:
SKIP - /webgl/drawingBufferToneMapping.html [wpt.fyi]:
SKIP - /webgl/framebuffer-initial-state.html [wpt.fyi]:
SKIP - /webgl/getParameter-stencil-masks.html [wpt.fyi]:
SKIP - /webgl/getUniformLocation-uniform-block-member.html [wpt.fyi]:
OK[GitHub],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] (Chrome:OK, Safari:OK) - /webgl/idlharness.any.html [wpt.fyi]:
SKIP - /webgl/idlharness.any.worker.html [wpt.fyi]:
SKIP - /webgl/stencilMaskSeparate-front-and-back.html [wpt.fyi]:
SKIP - /webgl/texImage-half-float-type.html [wpt.fyi]:
SKIP - /webgl/texImage2D-source-ignores-unpack-alignment.html [wpt.fyi]:
SKIP - /webgl/texImage2D.html [wpt.fyi]:
SKIP - /webgl/texSubImage2D.html [wpt.fyi]:
SKIP - /webgl/uniformMatrixNfv.html [wpt.fyi]:
SKIP - /webgl/webgl2-drawing-buffer-bits.html [wpt.fyi]:
SKIP
Tests Disabled in Gecko Infrastructure
- /webgl/basic-unused-context-crash.html [wpt.fyi]:
SKIP - /webgl/blitFramebuffer-presents-drawing-buffer.html [wpt.fyi]:
SKIP - /webgl/clearBufferfv-presents-drawing-buffer.html [wpt.fyi]:
SKIP - /webgl/bufferSubData.html [wpt.fyi]:
SKIP - /webgl/compressed-tex-sub-image-2d-without-base-image.html [wpt.fyi]:
SKIP - /webgl/compressedTexImage2D.html [wpt.fyi]:
SKIP - /webgl/compressedTexSubImage2D.html [wpt.fyi]:
SKIP - /webgl/drawingBufferToneMapping.html [wpt.fyi]:
SKIP - /webgl/framebuffer-initial-state.html [wpt.fyi]:
SKIP - /webgl/getParameter-stencil-masks.html [wpt.fyi]:
SKIP - /webgl/getUniformLocation-uniform-block-member.html [wpt.fyi]:
OK[GitHub],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] (Chrome:OK, Safari:OK) - /webgl/idlharness.any.html [wpt.fyi]:
SKIP - /webgl/idlharness.any.worker.html [wpt.fyi]:
SKIP - /webgl/stencilMaskSeparate-front-and-back.html [wpt.fyi]:
SKIP - /webgl/texImage-half-float-type.html [wpt.fyi]:
SKIP - /webgl/texImage2D-source-ignores-unpack-alignment.html [wpt.fyi]:
SKIP - /webgl/texImage2D.html [wpt.fyi]:
SKIP - /webgl/texSubImage2D.html [wpt.fyi]:
SKIP - /webgl/uniformMatrixNfv.html [wpt.fyi]:
SKIP - /webgl/webgl2-drawing-buffer-bits.html [wpt.fyi]:
SKIP
Description
•