Skip to content

Commit

Permalink
fix comment in instancing-compute sample
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Feb 24, 2025
1 parent b4d7600 commit 9c98f33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/examples/instancing-compute.zig
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ export fn frame() void {
sg.dispatch(@intCast((state.num_particles + 63) / 64), 1, 1);
sg.endPass();

// shader and pipeline for rendering the particles, this uses
// the compute-updated storage buffer to provide the particle positions
// render pass to render the particles via instancing, with the
// instance positions coming from the storage buffer
state.ry += 60.0 * dt;
const vs_params = computeVsParams(1.0, state.ry);
sg.beginPass(.{
Expand Down

0 comments on commit 9c98f33

Please sign in to comment.