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:
parent
37b3df4337
commit
9c5dd769c8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue