Open jahmezz opened 3 weeks ago
If "Manage Cell State" (Section 7) used VertexInput for "Read the storage buffer in the shader" parameter 1, then it would be more consistent and easier to follow.
It currently uses the non-struct approach of pos and instance_index.
Your example is confusing because it currently talks about the bottom-right corner, when it should say bottom-left.
Thank you for reporting this issue @jahmezz! It is now fixed in https://codelabs.developers.google.com/your-first-webgpu-app?hl=en#4
If "Manage Cell State" (Section 7) used VertexInput for "Read the storage buffer in the shader" parameter 1, then it would be more consistent and easier to follow.
@toji What do you think?
@toji (gentle ping)
Draw A Grid
Your example is confusing because it currently talks about the bottom-right corner, when it should say bottom-left.
In the "Manipulate geometry in the shader" section.
ChatGPT also provided me with a graph showing what you mean.