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

Fix buffer length typo #36946

Merged
merged 1 commit into from
Nov 26, 2024
Merged

Fix buffer length typo #36946

merged 1 commit into from
Nov 26, 2024

Conversation

robz
Copy link
Contributor

@robz robz commented Nov 24, 2024

Description

The number of workgroups and global id check should be based on the number of elements, not the size of the buffer in bytes

Motivation

I ran into this issue while replicating the tutorial (https://developer.mozilla.org/en-US/docs/Web/API/WebGPU_API), and got confused by the different lengths. Hopefully fixing it here will save time for others

The number of workgroups and global id check should be based on the number of elements, not the size of the buffer in bytes
@robz robz requested a review from a team as a code owner November 24, 2024 15:06
@robz robz requested review from sideshowbarker and removed request for a team November 24, 2024 15:06
@github-actions github-actions bot added Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed labels Nov 24, 2024
Copy link
Contributor

Preview URLs

@sideshowbarker sideshowbarker merged commit 7622e7e into mdn:main Nov 26, 2024
7 checks passed
@sideshowbarker
Copy link
Collaborator

@robz Nice work; congrats on landing your first docs change here — welcome aboard 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants