mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-13 23:26:24 +00:00
Use the default values for Dispatch in examples and tests
Bug: dawn:22 Change-Id: I4f83b966ee73ed92dc6648e3c59fac1be89031e1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/18381 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
67b1ad7a97
commit
3da19b843f
@@ -269,7 +269,7 @@ wgpu::CommandBuffer createCommandBuffer(const wgpu::TextureView backbufferView,
|
||||
wgpu::ComputePassEncoder pass = encoder.BeginComputePass();
|
||||
pass.SetPipeline(updatePipeline);
|
||||
pass.SetBindGroup(0, updateBGs[i]);
|
||||
pass.Dispatch(kNumParticles, 1, 1);
|
||||
pass.Dispatch(kNumParticles);
|
||||
pass.EndPass();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user