Fix the group decorations on ComputeBoids.

Change-Id: Icf4babde152dbaa75717689e96e641427d6870c7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/78220
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
Stephen White 2022-01-25 18:22:02 +00:00 committed by Dawn LUCI CQ
parent 37b3df4337
commit 9c5dd769c8
1 changed files with 3 additions and 3 deletions

View File

@ -164,9 +164,9 @@ void initSim() {
struct Particles {
particles : array<Particle>;
};
@binding(0), group(0) var<uniform> params : SimParams;
@binding(1), group(0) var<storage, read> particlesA : Particles;
@binding(2), group(0) var<storage, read_write> particlesB : Particles;
@binding(0) @group(0) var<uniform> params : SimParams;
@binding(1) @group(0) var<storage, read> particlesA : Particles;
@binding(2) @group(0) var<storage, read_write> particlesB : Particles;
// https://github.com/austinEng/Project6-Vulkan-Flocking/blob/master/data/shaders/computeparticles/particle.comp
@stage(compute) @workgroup_size(1)