diff --git a/examples/ComputeBoids.cpp b/examples/ComputeBoids.cpp index c4a7012c1c..edde7ebbb5 100644 --- a/examples/ComputeBoids.cpp +++ b/examples/ComputeBoids.cpp @@ -164,9 +164,9 @@ void initSim() { struct Particles { particles : array; }; - @binding(0), group(0) var params : SimParams; - @binding(1), group(0) var particlesA : Particles; - @binding(2), group(0) var particlesB : Particles; + @binding(0) @group(0) var params : SimParams; + @binding(1) @group(0) var particlesA : Particles; + @binding(2) @group(0) var particlesB : Particles; // https://github.com/austinEng/Project6-Vulkan-Flocking/blob/master/data/shaders/computeparticles/particle.comp @stage(compute) @workgroup_size(1)