Skip to content

Commit

Permalink
fix y-size in compute dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobhellermann committed Nov 22, 2021
1 parent 2ad5aa6 commit 3cf0eff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/shader/compute_shader_game_of_life_pipelined.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ impl render_graph::Node for DispatchGameOfLife {
if let Initialized::No = self.initialized {
pass.set_pipeline(&pipeline.init_pipeline);
pass.set_bind_group(0, texture_bind_group, &[]);
pass.dispatch(SIZE.0 / WORKGROUP_SIZE, SIZE.0 / WORKGROUP_SIZE, 1);
pass.dispatch(SIZE.0 / WORKGROUP_SIZE, SIZE.1 / WORKGROUP_SIZE, 1);
}

pass.set_pipeline(&pipeline.sim_pipeline);
Expand Down

0 comments on commit 3cf0eff

Please sign in to comment.