Add block annotations to computeboids

Annotate structures with [[block]] annotations.

Change-Id: Ieb6d5cee203fa1e9c090dc147d2c8d1473abb224
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/21022
Reviewed-by: David Neto <dneto@google.com>
diff --git a/test/compute_boids.wgsl b/test/compute_boids.wgsl
index b3a7b7e..967536d 100644
--- a/test/compute_boids.wgsl
+++ b/test/compute_boids.wgsl
@@ -41,12 +41,12 @@
 entry_point fragment as "frag_main" = frag_main;
 
 # compute shader
-type Particle = struct {
+type Particle = [[block]] struct {
   [[offset 0]] pos : vec2<f32>;
   [[offset 8]] vel : vec2<f32>;
 };
 
-type SimParams = struct {
+type SimParams = [[block]] struct {
   [[offset 0]] deltaT : f32;
   [[offset 4]] rule1Distance : f32;
   [[offset 8]] rule2Distance : f32;
@@ -56,7 +56,7 @@
   [[offset 24]] rule3Scale : f32;
 };
 
-type Particles = struct {
+type Particles = [[block]] struct {
   [[offset 0]] particles : array<Particle, 5>;
 };