RESOLVED FIXED327533
[WebXR][WebGPU] Projection layer created without depthStencilFormat returns an uncleared depthStencilTexture that the compositor reads
https://bugs.webkit.org/show_bug.cgi?id=327533
Summary [WebXR][WebGPU] Projection layer created without depthStencilFormat returns a...
Donovan Hutchence
Reported 2026-10-14 07:58:00 PDT
Steps: Create the layer with XRGPUBinding.createProjectionLayer({ colorFormat, textureType: 'texture-array' }), with no depthStencilFormat, then call getViewSubImage() each frame. Expected: depthStencilTexture is null and ignoreDepthValues is true, per §5.3 and §4.1.1. Any depth texture is cleared to 1.0 each frame, per §5.1. Actual: A depth texture is returned and is not cleared, and ignoreDepthValues is false. A late frame is reprojected using stale depth, so head-locked content doubles and the scene shakes.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-10-14 17:11:34 PDT
Mike Wyrzykowski
Comment 2 2026-10-14 18:21:50 PDT
EWS
Comment 3 2026-10-26 12:18:09 PDT
Committed 324747@main (66ca9a065b55): <https://commits.webkit.org/324747@main> Reviewed commits have been landed. Closing PR #77083 and removing active labels.
Anne van Kesteren
Comment 4 2026-11-01 06:03:19 PST
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/64506
Note You need to log in before you can comment on or make changes to this bug.