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

GPU{ComputePass,RenderPass,RenderBundle}Encoder.setBindGroup is now nullable #36078

Open
ErichDonGubler opened this issue Sep 27, 2024 · 0 comments
Labels
Content:WebAPI Web API docs help wanted If you know something about this topic, we would love your help!

Comments

@ErichDonGubler
Copy link

MDN URL

- : The {{domxref("GPUBindGroup")}} to use for subsequent render commands.

What specific section or headline is this issue about?

The bindGroup argument of GPUBindingCommandsMixin.setBindGroup, which applies to GPU{ComputePass,RenderPass,RenderBundle}Encoders.

What information was incorrect, unhelpful, or incomplete?

It's incomplete not to mention the case where the bindGroup argument for setBindGroup overloads can be null, for the purpose of unsetting a bind group.

What did you expect to see?

I expect to see a note that null can be specified. Perhaps even an example?

Do you have any supporting links, references, or citations?

This was changed with the WebGPU spec. upstream PR gpuweb#3938.

Do you have anything more you want to share?

I'm a member of Firefox's WebGPU team, hello! 👋🏻 Pleasure to meet you. 🙂

I expect most casual users of WebGPU to not need this functionality, but I'm not sure about production users.

@ErichDonGubler ErichDonGubler added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Sep 27, 2024
@Josh-Cena Josh-Cena added help wanted If you know something about this topic, we would love your help! Content:WebAPI Web API docs and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs help wanted If you know something about this topic, we would love your help!
Projects
None yet
Development

No branches or pull requests

2 participants