Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jmorel88 authored and greggman committed May 8, 2024
1 parent 294e69c commit b21f0d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webgpu/lessons/webgpu-fundamentals.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ This designates it as a vertex shader function.
It accepts one parameter we named `vertexIndex`. `vertexIndex` is a `u32` which
means a *32-bit unsigned integer*. It gets its value from the builtin called
`vertex_index`. `vertex_index` is the like an iteration number, similar to `index` in
`vertex_index`. `vertex_index` is like an iteration number, similar to `index` in
JavaScript's `Array.map(function(value, index) { ... })`. If we tell the GPU to
execute this function 10 times by calling `draw`, the first time `vertex_index` would be `0`, the
2nd time it would be `1`, the 3rd time it would be `2`, etc...[^indices]
Expand Down

0 comments on commit b21f0d1

Please sign in to comment.