Skip to content

Commit

Permalink
typo in webgpu-fundamentals.md
Browse files Browse the repository at this point in the history
Underscore instead of period
  • Loading branch information
tom-mohr authored and greggman committed Jan 5, 2024
1 parent fab5467 commit 9f716b0
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 @@ -644,7 +644,7 @@ function dispatchWorkgroups(width, height, depth) {
function dispatchWorkgroup(workgroup_id) {
// from @workgroup_size in WGSL
const workgroup_size = shaderCode.workgroup_size;
const {x: width, y: height, z: depth} = workgroup.size;
const {x: width, y: height, z: depth} = workgroup_size;
for (z = 0; z < depth; ++z) {
for (y = 0; y < height; ++y) {
for (x = 0; x < width; ++x) {
Expand Down

0 comments on commit 9f716b0

Please sign in to comment.