Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CR Request for WebGPU and WebGPU Shading Language - webgpu / WGSL #676

Open
tidoust opened this issue Nov 20, 2024 · 2 comments
Open

CR Request for WebGPU and WebGPU Shading Language - webgpu / WGSL #676

tidoust opened this issue Nov 20, 2024 · 2 comments
Assignees
Labels
Awaiting Team Verification Awaiting the verification of the W3C Team Entering CR First Candidate Recommendation wg:gpu

Comments

@tidoust
Copy link
Member

tidoust commented Nov 20, 2024

Document title, URLs, estimated publication date

Two specs to transition:

Note: The source of the specifications to publish as CR is maintained in a dedicated milestone-0 branch in the repository. The main branch contains further updates that will not be part of this snapshot.

No specific deadline for the publication date. Whenever transition is approved.

Abstract

  • WebGPU: "WebGPU exposes an API for performing operations, such as rendering and computation, on a Graphics Processing Unit."
  • WGSL: "Shading language for WebGPU."

Status

The group intends to switch to the "Living Recommendations" mode for both specifications once the proposed charter has been reviewed by the AC and approved. If the specifications get published under the current charter and exit criteria need to be specified, the idea would be to use regular exit criteria, like:

  • The API/shading language is implementable on top of modern GPU system APIs, such as Microsoft's Direct3D 12, Apple's Metal, and Khronos's Vulkan.
  • The API/shading language has at least two independent, interoperable implementations of every feature defined in the specification, where interoperability can be verified by passing open test suites, and two or more implementations interoperating with each other.
  • The API/shading language has an open test suite of every feature defined in the specification.

Minimal CR duration: 2 months.

Link to the group's decision to request transition

See resolution during last F2F. The group has resolved pending "milestone 0" since the F2F, also see the CR tracking issue

Changes

First CR

Requirements satisfied

Dependencies met (or not)

Normative dependencies are established standards with one exception: WebGPU specifies the integration with WebCodecs to process media frames, and WebCodecs is still a Working Draft at this stage. The VideoFrame interface at the core of this integration is stable and implemented across browsers already.

Wide Review

An issue was raised during PING review on the fingerprinting surface of the API (gpuweb/gpuweb#3101). The group reduced the fingerprinting surface to 5 bits and documented the mitigations that were put in place and the rationale in the issue. This issue is still under discussion in PING.

Issues addressed

All issues at milestone 0 have been addressed.

Formal Objections

None

Implementation

Implementations of WebGPU and WGSL are shipping or are about to ship in major browser codebases:

  • shipped in Chromium (behind a flag on Linux)
  • behind flags in Firefox and WebKit

The group maintains a conformance test suite (no implementation report available today)

Patent disclosures

https://www.w3.org/groups/wg/gpu/ipr/

@tidoust tidoust added Entering CR First Candidate Recommendation Awaiting Team Verification Awaiting the verification of the W3C Team labels Nov 20, 2024
@w3cbot w3cbot added the wg:gpu label Nov 20, 2024
@plehegar
Copy link
Member

We're checking with the Privacy WG regarding gpuweb/gpuweb#3101 .

@plehegar
Copy link
Member

Latest horizontal reviews date back to 2022 and there has been a lot of changes since then. Were the latest substantive changes reviewed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Team Verification Awaiting the verification of the W3C Team Entering CR First Candidate Recommendation wg:gpu
Projects
None yet
Development

No branches or pull requests

3 participants