Skip to content

Commit

Permalink
Merge pull request #26 from jiahaog/patch-1
Browse files Browse the repository at this point in the history
Add diff markers for VSOutput
  • Loading branch information
greggman authored Jun 26, 2023
2 parents 2e317ba + b6ea978 commit e7bbd07
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions webgpu/lessons/webgpu-storage-buffers.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ To do this we'll use another struct like we did in
[the article on inter-stage variables](webgpu-inter-stage-variables.html)

```wgsl
struct VSOutput {
@builtin(position) position: vec4f,
@location(0) color: vec4f,
}
+struct VSOutput {
+ @builtin(position) position: vec4f,
+ @location(0) color: vec4f,
+}
@vertex fn vs(
@builtin(vertex_index) vertexIndex : u32,
Expand Down

0 comments on commit e7bbd07

Please sign in to comment.