Skip to content

Commit

Permalink
Fixed a few minor typographic errors (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomholcomb authored Oct 14, 2024
1 parent 9ee3cc1 commit f5632c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webgpu/lessons/webgpu-wgsl.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ vectors can be constructed with smaller types.
let a = vec4f(1, 2, 3, 4);
let b = vec2f(2, 3);
let c = vec4f(1, b, 4);
let d = vec2f(1, a.yz, 4);
let e = vec2f(a.xyz, 4);
let f = vec2f(1, a.yzw);
let d = vec4f(1, a.yz, 4);
let e = vec4f(a.xyz, 4);
let f = vec4f(1, a.yzw);
```

`a`, `c`, `d`, `e` and `f` are the same.
Expand Down

0 comments on commit f5632c0

Please sign in to comment.