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

Clarify supported context formats definition #4644

Closed
beaufortfrancois opened this issue May 15, 2024 · 1 comment · Fixed by #4665
Closed

Clarify supported context formats definition #4644

beaufortfrancois opened this issue May 15, 2024 · 1 comment · Fixed by #4665
Labels
api WebGPU API copyediting Pure editorial stuff (copyediting, *.bs file syntax, etc.)
Milestone

Comments

@beaufortfrancois
Copy link
Contributor

The following definition of supported context formats is slightly confusing because of the word "initially". It reads as if this could evolve during the life of the app.

The supported context formats are a set of GPUTextureFormats that must be supported when specified as a GPUCanvasConfiguration.format regardless of the given GPUCanvasConfiguration.device, initially set to: «"bgra8unorm", "rgba8unorm", "rgba16float"».

May I suggest we remove the word "initially" to avoid confusion?

@kainino0x kainino0x added api WebGPU API copyediting Pure editorial stuff (copyediting, *.bs file syntax, etc.) labels May 15, 2024
@kainino0x kainino0x added this to the Milestone 1 milestone May 18, 2024
@toji
Copy link
Member

toji commented May 23, 2024

"initially set to" is just how most W3C specs initialize values in the spec, but I agree that removing "initially" here helps with spec comprehension without being ambiguous.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api WebGPU API copyediting Pure editorial stuff (copyediting, *.bs file syntax, etc.)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants