diff --git a/webgpu/lessons/webgpu-memory-layout.md b/webgpu/lessons/webgpu-memory-layout.md index ca191e3d..028e2bb6 100644 --- a/webgpu/lessons/webgpu-memory-layout.md +++ b/webgpu/lessons/webgpu-memory-layout.md @@ -79,7 +79,7 @@ ourStructValuesAsU32[kFrameCountOffset] = 56; // an integer value ## `TypedArrays` Like many things in programming there are multiple ways we could -set the data for `OutStruct`. `TypedArray`s have a constructor that takes various forms. For example +set the data for `OurStruct`. `TypedArray`s have a constructor that takes various forms. For example * `new Float32Array(12)` diff --git a/webgpu/lessons/webgpu-transparency.md b/webgpu/lessons/webgpu-transparency.md index 27f26d1c..baf44940 100644 --- a/webgpu/lessons/webgpu-transparency.md +++ b/webgpu/lessons/webgpu-transparency.md @@ -605,8 +605,7 @@ it and it will pass it on to `copyExternalTextureToImage`. } ``` -Then, let's use that to create two versions of each texture, one premultiplied, one "un-premultiplied" or -or "not premultiplied" +Then, let's use that to create two versions of each texture, one premultiplied, one "un-premultiplied" or "not premultiplied" ```js const srcTextureUnpremultipliedAlpha =