Skip to content

Commit

Permalink
Fix typo in webgpu-storage-buffers.md
Browse files Browse the repository at this point in the history
Said "we also need some to get the color ...". Fixed.
  • Loading branch information
DevJac authored and greggman committed Oct 13, 2023
1 parent 5e1595a commit c513a9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webgpu/lessons/webgpu-storage-buffers.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ will be passed to our function.
Using `instanceIndex` we can get specific struct elements from our arrays
of structs.

We also need to some get the color from the correct array element and use
We also need to get the color from the correct array element and use
it in our fragment shader. The fragment shader doesn't have access to
`@builtin(instance_index)` because that would make no sense. We could pass
it as an [inter-stage variable](webgpu-inter-stage-variables.html) but it
Expand Down

0 comments on commit c513a9b

Please sign in to comment.