From 9c5dd769c86ef844f3e1b465ed9de9d07c57168c Mon Sep 17 00:00:00 2001 From: Stephen White Date: Tue, 25 Jan 2022 18:22:02 +0000 Subject: [PATCH] Fix the group decorations on ComputeBoids. Change-Id: Icf4babde152dbaa75717689e96e641427d6870c7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/78220 Reviewed-by: Ben Clayton Commit-Queue: Ben Clayton --- examples/ComputeBoids.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)