Skip to content

Add WebGPU space-warp support - #33

Merged
cabanier merged 2 commits into
immersive-web:mainfrom
cabanier:space-warp
Jun 12, 2026
Merged

Add WebGPU space-warp support#33
cabanier merged 2 commits into
immersive-web:mainfrom
cabanier:space-warp

Conversation

@cabanier

@cabanier cabanier commented Jun 8, 2026

Copy link
Copy Markdown
Member

Mirror the Layers space-warp feature in the WebGPU binding by exposing usesDepthValues and motionVectorTexture, defining WebGPU depth-stencil and motion-vector texture resolutions, and allocating rgba16float motion-vector textures for projection layers when space-warp is enabled.

Also anchor cross-spec references for XR Compositor and the Layers space-warp feature descriptor, and rename the current depth-stencil dfn so Bikeshed can resolve it.


Preview | Diff

Mirror the Layers space-warp feature in the WebGPU binding by exposing usesDepthValues and motionVectorTexture, defining WebGPU depth-stencil and motion-vector texture resolutions, and allocating rgba16float motion-vector textures for projection layers when space-warp is enabled.

Also anchor cross-spec references for XR Compositor and the Layers space-warp feature descriptor, and rename the current depth-stencil dfn so Bikeshed can resolve it.
@cabanier
cabanier marked this pull request as ready for review June 11, 2026 23:33

@toji toji left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with one additional bit of info (here and on the WebGL layers spec, I think)

Comment thread index.bs
@cabanier
cabanier merged commit 9de947d into immersive-web:main Jun 12, 2026
2 checks passed
@cabanier
cabanier deleted the space-warp branch June 12, 2026 22:12
github-actions Bot added a commit that referenced this pull request Jun 12, 2026
SHA: 9de947d
Reason: push, by cabanier

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants