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

Render{Pass,BundleEncoder}::set_vertex_buffer's buffer argument should be Optional #7354

Open
ErichDonGubler opened this issue Mar 17, 2025 · 1 comment
Assignees
Labels
area: api Issues related to API surface area: correctness We're behaving incorrectly area: cts Issues stemming from the WebGPU Conformance Test Suite area: ecosystem Help the connected projects grow and prosper type: bug Something isn't working

Comments

@ErichDonGubler
Copy link
Member

See the WebGPU spec. for it here, which defines the JS API's correspondent argument being nullable: https://www.w3.org/TR/webgpu/#dom-gpurendercommandsmixin-setvertexbuffer

When set to null in JS, it's expected that the slot index will have its buffer unbound.

@ErichDonGubler ErichDonGubler added area: api Issues related to API surface area: correctness We're behaving incorrectly area: cts Issues stemming from the WebGPU Conformance Test Suite area: ecosystem Help the connected projects grow and prosper type: bug Something isn't working labels Mar 17, 2025
@ErichDonGubler ErichDonGubler changed the title RenderPass::set_vertex_buffer's buffer argument should be Optional Render{Pass,BundleEncoder}::set_vertex_buffer's buffer argument should be Optional Mar 17, 2025
@ErichDonGubler
Copy link
Member Author

Firefox downstream tracking: bug 1954476

@ErichDonGubler ErichDonGubler self-assigned this Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: api Issues related to API surface area: correctness We're behaving incorrectly area: cts Issues stemming from the WebGPU Conformance Test Suite area: ecosystem Help the connected projects grow and prosper type: bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant