[Tint] Hacky fix for binding numbers in tests

Due to the way the MSL backend handles generating binding numbers with
the Tint exe, these slight changes are necessary to satisfy the
follow-up test fixes which will split out vertex entry point tests for
some builtins. This change has been separated into a separate CL due to
the size of the diff in generated files.

Only test/tint/builtins/gen/gen.wgsl.tmpl has been manually modified.
The other changes were created with:
./tools/run gen
./tools/run tests --generate-expected

Bug: 344846829
Change-Id: I8ecadda930b805a2b9bc171fba0ad461bd5149e9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/195477
Commit-Queue: Natalie Chouinard <chouinard@google.com>
Reviewed-by: dan sinclair <dsinclair@chromium.org>
diff --git a/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.glsl b/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.glsl
index ecabfd9..884448f 100644
--- a/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.glsl
+++ b/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.glsl
@@ -2,6 +2,10 @@
 precision highp float;
 precision highp int;
 
+layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
+  ivec2 inner;
+} prevent_dce;
+
 ivec2 min_03c7e3() {
   ivec2 arg_0 = ivec2(1);
   ivec2 arg_1 = ivec2(1);
@@ -9,10 +13,6 @@
   return res;
 }
 
-layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
-  ivec2 inner;
-} prevent_dce;
-
 struct VertexOutput {
   vec4 pos;
   ivec2 prevent_dce;
@@ -28,6 +28,10 @@
 }
 #version 310 es
 
+layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
+  ivec2 inner;
+} prevent_dce;
+
 ivec2 min_03c7e3() {
   ivec2 arg_0 = ivec2(1);
   ivec2 arg_1 = ivec2(1);
@@ -35,10 +39,6 @@
   return res;
 }
 
-layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
-  ivec2 inner;
-} prevent_dce;
-
 struct VertexOutput {
   vec4 pos;
   ivec2 prevent_dce;