subgroupBroadcast sourceLaneIndex should be unsigned
SPIR-V and MSL require it to be unsigned,
and it avoids silly mistakes on the author's part.
Also remove resolver tests that are redundant w.r.t.
the intrinsics infrastucture.
Bug: tint:2041
Change-Id: Ibcdbb5018ace10c67922a9e80eaad11042bc29b3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/151581
Reviewed-by: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: David Neto <dneto@google.com>
diff --git a/src/tint/lang/core/core.def b/src/tint/lang/core/core.def
index 639eba7..b52d9bb 100644
--- a/src/tint/lang/core/core.def
+++ b/src/tint/lang/core/core.def
@@ -914,7 +914,7 @@
@stage("fragment", "compute") fn atomicCompareExchangeWeak<T: iu32, S: workgroup_or_storage>(ptr<S, atomic<T>, read_write>, T, T) -> __atomic_compare_exchange_result<T>
@must_use @stage("compute") fn subgroupBallot() -> vec4<u32>
-@must_use @stage("compute") fn subgroupBroadcast<T: fiu32, L: iu32>(value: T, @const sourceLaneIndex: L) -> T
+@must_use @stage("compute") fn subgroupBroadcast<T: fiu32>(value: T, @const sourceLaneIndex: u32) -> T
////////////////////////////////////////////////////////////////////////////////
// Value constructors //
diff --git a/src/tint/lang/core/intrinsic/data/data.cc b/src/tint/lang/core/intrinsic/data/data.cc
index 5f92989..94f9779 100644
--- a/src/tint/lang/core/intrinsic/data/data.cc
+++ b/src/tint/lang/core/intrinsic/data/data.cc
@@ -4148,7 +4148,7 @@
{
/* [349] */
/* usage */ core::ParameterUsage::kSourceLaneIndex,
- /* type_matcher_indices */ TypeMatcherIndicesIndex(21),
+ /* type_matcher_indices */ TypeMatcherIndicesIndex(35),
/* number_matcher_indices */ NumberMatcherIndicesIndex(/* invalid */),
},
{
@@ -10860,9 +10860,9 @@
/* [460] */
/* flags */ OverloadFlags(OverloadFlag::kIsBuiltin, OverloadFlag::kSupportsComputePipeline, OverloadFlag::kMustUse),
/* num_parameters */ 2,
- /* num_template_types */ 2,
+ /* num_template_types */ 1,
/* num_template_numbers */ 0,
- /* template_types */ TemplateTypeIndex(12),
+ /* template_types */ TemplateTypeIndex(0),
/* template_numbers */ TemplateNumberIndex(/* invalid */),
/* parameters */ ParameterIndex(348),
/* return_type_matcher_indices */ TypeMatcherIndicesIndex(2),
@@ -11823,7 +11823,7 @@
},
{
/* [115] */
- /* fn subgroupBroadcast<T : fiu32, L : iu32>(value: T, @const sourceLaneIndex: L) -> T */
+ /* fn subgroupBroadcast<T : fiu32>(value: T, @const sourceLaneIndex: u32) -> T */
/* num overloads */ 1,
/* overloads */ OverloadIndex(460),
},
diff --git a/src/tint/lang/wgsl/resolver/builtin_validation_test.cc b/src/tint/lang/wgsl/resolver/builtin_validation_test.cc
index ee29c45..baca6e9 100644
--- a/src/tint/lang/wgsl/resolver/builtin_validation_test.cc
+++ b/src/tint/lang/wgsl/resolver/builtin_validation_test.cc
@@ -684,7 +684,7 @@
// fn func -> i32 { return subgroupBroadcast(1,0); }
Func("func", tint::Empty, ty.i32(),
Vector{
- Return(Call(Source{{12, 34}}, "subgroupBroadcast", 1_i, 0_i)),
+ Return(Call(Source{{12, 34}}, "subgroupBroadcast", 1_i, 0_u)),
});
EXPECT_FALSE(r()->Resolve());
@@ -700,7 +700,7 @@
Func("func", tint::Empty, ty.i32(),
Vector{
- Return(Call("subgroupBroadcast", 1_i, 0_i)),
+ Return(Call("subgroupBroadcast", 1_i, 0_u)),
});
EXPECT_TRUE(r()->Resolve());
@@ -754,49 +754,11 @@
EXPECT_EQ(r()->error(), "3:4 error: built-in cannot be used by fragment pipeline stage");
}
-TEST_F(ResolverBuiltinValidationTest, SubgroupBroadcastTooFewArgs) {
- // enable chromium_experimental_subgroups;
- // fn func -> i32 { return subgroupBroadcast(1); }
- Enable(core::Extension::kChromiumExperimentalSubgroups);
-
- Func("func", tint::Empty, ty.i32(),
- Vector{
- Return(Call(Source{Source::Location{12, 34}}, "subgroupBroadcast", 1_i)),
- });
-
- EXPECT_FALSE(r()->Resolve());
- EXPECT_EQ(r()->error(),
- R"(12:34 error: no matching call to subgroupBroadcast(i32)
-
-1 candidate function:
- subgroupBroadcast(value: T, sourceLaneIndex: L) -> T where: T is f32, i32 or u32, L is i32 or u32
-)");
-}
-
-TEST_F(ResolverBuiltinValidationTest, SubgroupBroadcastTooManyArgs) {
- // enable chromium_experimental_subgroups;
- // fn func -> i32 { return subgroupBroadcast(1,1,1); }
- Enable(core::Extension::kChromiumExperimentalSubgroups);
-
- Func("func", tint::Empty, ty.i32(),
- Vector{
- Return(Call(Source{{12, 34}}, "subgroupBroadcast", 1_i, 1_i, 1_i)),
- });
-
- EXPECT_FALSE(r()->Resolve());
- EXPECT_EQ(r()->error(),
- R"(12:34 error: no matching call to subgroupBroadcast(i32, i32, i32)
-
-1 candidate function:
- subgroupBroadcast(value: T, sourceLaneIndex: L) -> T where: T is f32, i32 or u32, L is i32 or u32
-)");
-}
-
TEST_F(ResolverBuiltinValidationTest, SubgroupBroadcastValueF32) {
Enable(core::Extension::kChromiumExperimentalSubgroups);
Func("func", tint::Empty, ty.f32(),
Vector{
- Return(Call("subgroupBroadcast", 1_f, 0_i)),
+ Return(Call("subgroupBroadcast", 1_f, 0_u)),
});
EXPECT_TRUE(r()->Resolve());
}
@@ -805,7 +767,7 @@
Enable(core::Extension::kChromiumExperimentalSubgroups);
Func("func", tint::Empty, ty.i32(),
Vector{
- Return(Call("subgroupBroadcast", 1_i, 0_i)),
+ Return(Call("subgroupBroadcast", 1_i, 0_u)),
});
EXPECT_TRUE(r()->Resolve());
}
@@ -814,63 +776,11 @@
Enable(core::Extension::kChromiumExperimentalSubgroups);
Func("func", tint::Empty, ty.u32(),
Vector{
- Return(Call("subgroupBroadcast", 1_u, 0_i)),
+ Return(Call("subgroupBroadcast", 1_u, 0_u)),
});
EXPECT_TRUE(r()->Resolve());
}
-TEST_F(ResolverBuiltinValidationTest, SubgroupBroadcastValueBoolIsError) {
- Enable(core::Extension::kChromiumExperimentalSubgroups);
- const bool value = false; // could be true too
- Func("func", tint::Empty, ty.bool_(),
- Vector{
- Return(Call(Source{{12, 34}}, "subgroupBroadcast", value, 0_i)),
- });
- EXPECT_FALSE(r()->Resolve());
- EXPECT_EQ(r()->error(),
- R"(12:34 error: no matching call to subgroupBroadcast(bool, i32)
-
-1 candidate function:
- subgroupBroadcast(value: T, sourceLaneIndex: L) -> T where: T is f32, i32 or u32, L is i32 or u32
-)");
-}
-
-TEST_F(ResolverBuiltinValidationTest, SubgroupBroadcastValueF32ResultTypeDifferentIsError) {
- Enable(core::Extension::kChromiumExperimentalSubgroups);
- Func("func", tint::Empty, ty.i32(),
- Vector{
- Return(Source{{12, 34}}, Call("subgroupBroadcast", 1_f, 0_i)),
- });
- EXPECT_FALSE(r()->Resolve());
- EXPECT_EQ(
- r()->error(),
- R"(12:34 error: return statement type must match its function return type, returned 'f32', expected 'i32')");
-}
-
-TEST_F(ResolverBuiltinValidationTest, SubgroupBroadcastValueI32ResultTypeDifferentIsError) {
- Enable(core::Extension::kChromiumExperimentalSubgroups);
- Func("func", tint::Empty, ty.u32(),
- Vector{
- Return(Source{{12, 34}}, Call("subgroupBroadcast", 1_i, 0_i)),
- });
- EXPECT_FALSE(r()->Resolve());
- EXPECT_EQ(
- r()->error(),
- R"(12:34 error: return statement type must match its function return type, returned 'i32', expected 'u32')");
-}
-
-TEST_F(ResolverBuiltinValidationTest, SubgroupBroadcastValueU32ResultTypeDifferentIsError) {
- Enable(core::Extension::kChromiumExperimentalSubgroups);
- Func("func", tint::Empty, ty.f32(),
- Vector{
- Return(Source{{12, 34}}, Call("subgroupBroadcast", 1_u, 0_i)),
- });
- EXPECT_FALSE(r()->Resolve());
- EXPECT_EQ(
- r()->error(),
- R"(12:34 error: return statement type must match its function return type, returned 'u32', expected 'f32')");
-}
-
TEST_F(ResolverBuiltinValidationTest, SubgroupBroadcastLaneArgMustBeConst) {
Enable(core::Extension::kChromiumExperimentalSubgroups);
Func("func", tint::Empty, ty.void_(),
@@ -884,57 +794,6 @@
R"(12:34 error: the sourceLaneIndex argument of subgroupBroadcast must be a const-expression)");
}
-TEST_F(ResolverBuiltinValidationTest, SubgroupBroadcastLaneArgI32) {
- Enable(core::Extension::kChromiumExperimentalSubgroups);
- Func("func", tint::Empty, ty.void_(),
- Vector{
- Ignore(Call("subgroupBroadcast", 1_f, 0_i)),
- });
- EXPECT_TRUE(r()->Resolve());
-}
-
-TEST_F(ResolverBuiltinValidationTest, SubgroupBroadcastLaneArgU32) {
- Enable(core::Extension::kChromiumExperimentalSubgroups);
- Func("func", tint::Empty, ty.void_(),
- Vector{
- Ignore(Call("subgroupBroadcast", 1_f, 0_u)),
- });
- EXPECT_TRUE(r()->Resolve());
-}
-
-TEST_F(ResolverBuiltinValidationTest, SubgroupBroadcastLaneArgF32IsError) {
- Enable(core::Extension::kChromiumExperimentalSubgroups);
- Func("func", tint::Empty, ty.void_(),
- Vector{
- Decl(Let("lane", Expr(1_u))),
- Ignore(Call(Source{{12, 34}}, "subgroupBroadcast", 1_f, 0_f)),
- });
- EXPECT_FALSE(r()->Resolve());
- EXPECT_EQ(r()->error(),
- R"(12:34 error: no matching call to subgroupBroadcast(f32, f32)
-
-1 candidate function:
- subgroupBroadcast(value: T, sourceLaneIndex: L) -> T where: T is f32, i32 or u32, L is i32 or u32
-)");
-}
-
-TEST_F(ResolverBuiltinValidationTest, SubgroupBroadcastLaneArgBoolIsError) {
- Enable(core::Extension::kChromiumExperimentalSubgroups);
- const bool value = false; // could be true too
- Func("func", tint::Empty, ty.void_(),
- Vector{
- Decl(Let("lane", Expr(1_u))),
- Ignore(Call(Source{{12, 34}}, "subgroupBroadcast", 1_f, value)),
- });
- EXPECT_FALSE(r()->Resolve());
- EXPECT_EQ(r()->error(),
- R"(12:34 error: no matching call to subgroupBroadcast(f32, bool)
-
-1 candidate function:
- subgroupBroadcast(value: T, sourceLaneIndex: L) -> T where: T is f32, i32 or u32, L is i32 or u32
-)");
-}
-
TEST_F(ResolverBuiltinValidationTest, TextureBarrierWithoutExtension) {
// fn func { textureBarrier(); }
Func("func", tint::Empty, ty.void_(),
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl b/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl
deleted file mode 100644
index 6fec1bf..0000000
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2023 The Tint Authors.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-////////////////////////////////////////////////////////////////////////////////
-// File generated by 'tools/src/cmd/gen' using the template:
-// test/tint/builtins/gen/gen.wgsl.tmpl
-//
-// To regenerate run: './tools/run gen'
-//
-// Do not modify this file directly
-////////////////////////////////////////////////////////////////////////////////
-
-
-enable chromium_experimental_subgroups;
-
-// fn subgroupBroadcast(value: u32, @const sourceLaneIndex: i32) -> u32
-fn subgroupBroadcast_49de94() {
- var res: u32 = subgroupBroadcast(1u, 1i);
- prevent_dce = res;
-}
-@group(2) @binding(0) var<storage, read_write> prevent_dce : u32;
-
-@compute @workgroup_size(1)
-fn compute_main() {
- subgroupBroadcast_49de94();
-}
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl.expected.dxc.hlsl
deleted file mode 100644
index 9f667dd..0000000
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl.expected.dxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-/build/dawn/src/tint/lang/hlsl/writer/ast_printer/ast_printer.cc:2510 internal compiler error: TINT_UNREACHABLE unexpected subgroup builtin type subgroupBroadcast
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl.expected.fxc.hlsl
deleted file mode 100644
index 9f667dd..0000000
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl.expected.fxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-/build/dawn/src/tint/lang/hlsl/writer/ast_printer/ast_printer.cc:2510 internal compiler error: TINT_UNREACHABLE unexpected subgroup builtin type subgroupBroadcast
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl.expected.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl.expected.glsl
deleted file mode 100644
index 3d60509..0000000
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl.expected.glsl
+++ /dev/null
@@ -1,21 +0,0 @@
-SKIP: FAILED
-
-
-enable chromium_experimental_subgroups;
-
-fn subgroupBroadcast_49de94() {
- var res : u32 = subgroupBroadcast(1u, 1i);
- prevent_dce = res;
-}
-
-@group(2) @binding(0) var<storage, read_write> prevent_dce : u32;
-
-@compute @workgroup_size(1)
-fn compute_main() {
- subgroupBroadcast_49de94();
-}
-
-Failed to generate: test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl:25:8 error: GLSL backend does not support extension 'chromium_experimental_subgroups'
-enable chromium_experimental_subgroups;
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl.expected.msl b/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl.expected.msl
deleted file mode 100644
index 75e4432..0000000
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl.expected.msl
+++ /dev/null
@@ -1,18 +0,0 @@
-SKIP: FAILED
-
-
-enable chromium_experimental_subgroups;
-
-fn subgroupBroadcast_49de94() {
- var res : u32 = subgroupBroadcast(1u, 1i);
- prevent_dce = res;
-}
-
-@group(2) @binding(0) var<storage, read_write> prevent_dce : u32;
-
-@compute @workgroup_size(1)
-fn compute_main() {
- subgroupBroadcast_49de94();
-}
-
-Failed to generate: error: Unknown import method: subgroupBroadcast
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl.expected.spvasm b/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl.expected.spvasm
deleted file mode 100644
index eed3359..0000000
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl.expected.spvasm
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-/build/dawn/src/tint/lang/spirv/writer/ast_printer/builder.cc:2580 internal compiler error: unknown method subgroupBroadcast
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl.expected.wgsl
deleted file mode 100644
index 0f89e43..0000000
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl.expected.wgsl
+++ /dev/null
@@ -1,15 +0,0 @@
-SKIP: FAILED
-
-enable chromium_experimental_subgroups;
-
-fn subgroupBroadcast_49de94() {
- var res : u32 = subgroupBroadcast(1u, 1i);
- prevent_dce = res;
-}
-
-@group(2) @binding(0) var<storage, read_write> prevent_dce : u32;
-
-@compute @workgroup_size(1)
-fn compute_main() {
- subgroupBroadcast_49de94();
-}
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl b/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl
deleted file mode 100644
index bd09824..0000000
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2023 The Tint Authors.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-////////////////////////////////////////////////////////////////////////////////
-// File generated by 'tools/src/cmd/gen' using the template:
-// test/tint/builtins/gen/gen.wgsl.tmpl
-//
-// To regenerate run: './tools/run gen'
-//
-// Do not modify this file directly
-////////////////////////////////////////////////////////////////////////////////
-
-
-enable chromium_experimental_subgroups;
-
-// fn subgroupBroadcast(value: f32, @const sourceLaneIndex: i32) -> f32
-fn subgroupBroadcast_867093() {
- var res: f32 = subgroupBroadcast(1.f, 1i);
- prevent_dce = res;
-}
-@group(2) @binding(0) var<storage, read_write> prevent_dce : f32;
-
-@compute @workgroup_size(1)
-fn compute_main() {
- subgroupBroadcast_867093();
-}
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl.expected.dxc.hlsl
deleted file mode 100644
index 9f667dd..0000000
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl.expected.dxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-/build/dawn/src/tint/lang/hlsl/writer/ast_printer/ast_printer.cc:2510 internal compiler error: TINT_UNREACHABLE unexpected subgroup builtin type subgroupBroadcast
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl.expected.fxc.hlsl
deleted file mode 100644
index 9f667dd..0000000
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl.expected.fxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-/build/dawn/src/tint/lang/hlsl/writer/ast_printer/ast_printer.cc:2510 internal compiler error: TINT_UNREACHABLE unexpected subgroup builtin type subgroupBroadcast
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl.expected.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl.expected.glsl
deleted file mode 100644
index 1fdc5ef..0000000
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl.expected.glsl
+++ /dev/null
@@ -1,21 +0,0 @@
-SKIP: FAILED
-
-
-enable chromium_experimental_subgroups;
-
-fn subgroupBroadcast_867093() {
- var res : f32 = subgroupBroadcast(1.0f, 1i);
- prevent_dce = res;
-}
-
-@group(2) @binding(0) var<storage, read_write> prevent_dce : f32;
-
-@compute @workgroup_size(1)
-fn compute_main() {
- subgroupBroadcast_867093();
-}
-
-Failed to generate: test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl:25:8 error: GLSL backend does not support extension 'chromium_experimental_subgroups'
-enable chromium_experimental_subgroups;
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl.expected.msl b/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl.expected.msl
deleted file mode 100644
index d12b73b..0000000
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl.expected.msl
+++ /dev/null
@@ -1,18 +0,0 @@
-SKIP: FAILED
-
-
-enable chromium_experimental_subgroups;
-
-fn subgroupBroadcast_867093() {
- var res : f32 = subgroupBroadcast(1.0f, 1i);
- prevent_dce = res;
-}
-
-@group(2) @binding(0) var<storage, read_write> prevent_dce : f32;
-
-@compute @workgroup_size(1)
-fn compute_main() {
- subgroupBroadcast_867093();
-}
-
-Failed to generate: error: Unknown import method: subgroupBroadcast
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl.expected.spvasm b/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl.expected.spvasm
deleted file mode 100644
index eed3359..0000000
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl.expected.spvasm
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-/build/dawn/src/tint/lang/spirv/writer/ast_printer/builder.cc:2580 internal compiler error: unknown method subgroupBroadcast
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl.expected.wgsl
deleted file mode 100644
index 54a63f6..0000000
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl.expected.wgsl
+++ /dev/null
@@ -1,15 +0,0 @@
-SKIP: FAILED
-
-enable chromium_experimental_subgroups;
-
-fn subgroupBroadcast_867093() {
- var res : f32 = subgroupBroadcast(1.0f, 1i);
- prevent_dce = res;
-}
-
-@group(2) @binding(0) var<storage, read_write> prevent_dce : f32;
-
-@compute @workgroup_size(1)
-fn compute_main() {
- subgroupBroadcast_867093();
-}
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl b/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl
deleted file mode 100644
index 018e064..0000000
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2023 The Tint Authors.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-////////////////////////////////////////////////////////////////////////////////
-// File generated by 'tools/src/cmd/gen' using the template:
-// test/tint/builtins/gen/gen.wgsl.tmpl
-//
-// To regenerate run: './tools/run gen'
-//
-// Do not modify this file directly
-////////////////////////////////////////////////////////////////////////////////
-
-
-enable chromium_experimental_subgroups;
-
-// fn subgroupBroadcast(value: i32, @const sourceLaneIndex: i32) -> i32
-fn subgroupBroadcast_9ccdca() {
- var res: i32 = subgroupBroadcast(1i, 1i);
- prevent_dce = res;
-}
-@group(2) @binding(0) var<storage, read_write> prevent_dce : i32;
-
-@compute @workgroup_size(1)
-fn compute_main() {
- subgroupBroadcast_9ccdca();
-}
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl.expected.dxc.hlsl
deleted file mode 100644
index 9f667dd..0000000
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl.expected.dxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-/build/dawn/src/tint/lang/hlsl/writer/ast_printer/ast_printer.cc:2510 internal compiler error: TINT_UNREACHABLE unexpected subgroup builtin type subgroupBroadcast
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl.expected.fxc.hlsl
deleted file mode 100644
index 9f667dd..0000000
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl.expected.fxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-/build/dawn/src/tint/lang/hlsl/writer/ast_printer/ast_printer.cc:2510 internal compiler error: TINT_UNREACHABLE unexpected subgroup builtin type subgroupBroadcast
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl.expected.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl.expected.glsl
deleted file mode 100644
index f4b6e1d..0000000
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl.expected.glsl
+++ /dev/null
@@ -1,21 +0,0 @@
-SKIP: FAILED
-
-
-enable chromium_experimental_subgroups;
-
-fn subgroupBroadcast_9ccdca() {
- var res : i32 = subgroupBroadcast(1i, 1i);
- prevent_dce = res;
-}
-
-@group(2) @binding(0) var<storage, read_write> prevent_dce : i32;
-
-@compute @workgroup_size(1)
-fn compute_main() {
- subgroupBroadcast_9ccdca();
-}
-
-Failed to generate: test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl:25:8 error: GLSL backend does not support extension 'chromium_experimental_subgroups'
-enable chromium_experimental_subgroups;
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl.expected.msl b/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl.expected.msl
deleted file mode 100644
index 09f24c7..0000000
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl.expected.msl
+++ /dev/null
@@ -1,18 +0,0 @@
-SKIP: FAILED
-
-
-enable chromium_experimental_subgroups;
-
-fn subgroupBroadcast_9ccdca() {
- var res : i32 = subgroupBroadcast(1i, 1i);
- prevent_dce = res;
-}
-
-@group(2) @binding(0) var<storage, read_write> prevent_dce : i32;
-
-@compute @workgroup_size(1)
-fn compute_main() {
- subgroupBroadcast_9ccdca();
-}
-
-Failed to generate: error: Unknown import method: subgroupBroadcast
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl.expected.spvasm b/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl.expected.spvasm
deleted file mode 100644
index eed3359..0000000
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl.expected.spvasm
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-/build/dawn/src/tint/lang/spirv/writer/ast_printer/builder.cc:2580 internal compiler error: unknown method subgroupBroadcast
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl.expected.wgsl
deleted file mode 100644
index c41d39f..0000000
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl.expected.wgsl
+++ /dev/null
@@ -1,15 +0,0 @@
-SKIP: FAILED
-
-enable chromium_experimental_subgroups;
-
-fn subgroupBroadcast_9ccdca() {
- var res : i32 = subgroupBroadcast(1i, 1i);
- prevent_dce = res;
-}
-
-@group(2) @binding(0) var<storage, read_write> prevent_dce : i32;
-
-@compute @workgroup_size(1)
-fn compute_main() {
- subgroupBroadcast_9ccdca();
-}
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl b/test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl
deleted file mode 100644
index a5f1175..0000000
--- a/test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2023 The Tint Authors.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-////////////////////////////////////////////////////////////////////////////////
-// File generated by 'tools/src/cmd/gen' using the template:
-// test/tint/builtins/gen/gen.wgsl.tmpl
-//
-// To regenerate run: './tools/run gen'
-//
-// Do not modify this file directly
-////////////////////////////////////////////////////////////////////////////////
-
-
-enable chromium_experimental_subgroups;
-
-// fn subgroupBroadcast(value: u32, @const sourceLaneIndex: i32) -> u32
-fn subgroupBroadcast_49de94() {
- var arg_0 = 1u;
- const arg_1 = 1i;
- var res: u32 = subgroupBroadcast(arg_0, arg_1);
- prevent_dce = res;
-}
-@group(2) @binding(0) var<storage, read_write> prevent_dce : u32;
-
-@compute @workgroup_size(1)
-fn compute_main() {
- subgroupBroadcast_49de94();
-}
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl.expected.dxc.hlsl
deleted file mode 100644
index 9f667dd..0000000
--- a/test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl.expected.dxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-/build/dawn/src/tint/lang/hlsl/writer/ast_printer/ast_printer.cc:2510 internal compiler error: TINT_UNREACHABLE unexpected subgroup builtin type subgroupBroadcast
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl.expected.fxc.hlsl
deleted file mode 100644
index 9f667dd..0000000
--- a/test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl.expected.fxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-/build/dawn/src/tint/lang/hlsl/writer/ast_printer/ast_printer.cc:2510 internal compiler error: TINT_UNREACHABLE unexpected subgroup builtin type subgroupBroadcast
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl.expected.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl.expected.glsl
deleted file mode 100644
index 57d45ee..0000000
--- a/test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl.expected.glsl
+++ /dev/null
@@ -1,23 +0,0 @@
-SKIP: FAILED
-
-
-enable chromium_experimental_subgroups;
-
-fn subgroupBroadcast_49de94() {
- var arg_0 = 1u;
- const arg_1 = 1i;
- var res : u32 = subgroupBroadcast(arg_0, arg_1);
- prevent_dce = res;
-}
-
-@group(2) @binding(0) var<storage, read_write> prevent_dce : u32;
-
-@compute @workgroup_size(1)
-fn compute_main() {
- subgroupBroadcast_49de94();
-}
-
-Failed to generate: test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl:25:8 error: GLSL backend does not support extension 'chromium_experimental_subgroups'
-enable chromium_experimental_subgroups;
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl.expected.msl b/test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl.expected.msl
deleted file mode 100644
index ba5e419..0000000
--- a/test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl.expected.msl
+++ /dev/null
@@ -1,20 +0,0 @@
-SKIP: FAILED
-
-
-enable chromium_experimental_subgroups;
-
-fn subgroupBroadcast_49de94() {
- var arg_0 = 1u;
- const arg_1 = 1i;
- var res : u32 = subgroupBroadcast(arg_0, arg_1);
- prevent_dce = res;
-}
-
-@group(2) @binding(0) var<storage, read_write> prevent_dce : u32;
-
-@compute @workgroup_size(1)
-fn compute_main() {
- subgroupBroadcast_49de94();
-}
-
-Failed to generate: error: Unknown import method: subgroupBroadcast
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl.expected.spvasm b/test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl.expected.spvasm
deleted file mode 100644
index eed3359..0000000
--- a/test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl.expected.spvasm
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-/build/dawn/src/tint/lang/spirv/writer/ast_printer/builder.cc:2580 internal compiler error: unknown method subgroupBroadcast
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl b/test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl
deleted file mode 100644
index e6352b9..0000000
--- a/test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2023 The Tint Authors.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-////////////////////////////////////////////////////////////////////////////////
-// File generated by 'tools/src/cmd/gen' using the template:
-// test/tint/builtins/gen/gen.wgsl.tmpl
-//
-// To regenerate run: './tools/run gen'
-//
-// Do not modify this file directly
-////////////////////////////////////////////////////////////////////////////////
-
-
-enable chromium_experimental_subgroups;
-
-// fn subgroupBroadcast(value: f32, @const sourceLaneIndex: i32) -> f32
-fn subgroupBroadcast_867093() {
- var arg_0 = 1.f;
- const arg_1 = 1i;
- var res: f32 = subgroupBroadcast(arg_0, arg_1);
- prevent_dce = res;
-}
-@group(2) @binding(0) var<storage, read_write> prevent_dce : f32;
-
-@compute @workgroup_size(1)
-fn compute_main() {
- subgroupBroadcast_867093();
-}
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl.expected.dxc.hlsl
deleted file mode 100644
index 9f667dd..0000000
--- a/test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl.expected.dxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-/build/dawn/src/tint/lang/hlsl/writer/ast_printer/ast_printer.cc:2510 internal compiler error: TINT_UNREACHABLE unexpected subgroup builtin type subgroupBroadcast
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl.expected.fxc.hlsl
deleted file mode 100644
index 9f667dd..0000000
--- a/test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl.expected.fxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-/build/dawn/src/tint/lang/hlsl/writer/ast_printer/ast_printer.cc:2510 internal compiler error: TINT_UNREACHABLE unexpected subgroup builtin type subgroupBroadcast
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl.expected.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl.expected.glsl
deleted file mode 100644
index 9649d0b..0000000
--- a/test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl.expected.glsl
+++ /dev/null
@@ -1,23 +0,0 @@
-SKIP: FAILED
-
-
-enable chromium_experimental_subgroups;
-
-fn subgroupBroadcast_867093() {
- var arg_0 = 1.0f;
- const arg_1 = 1i;
- var res : f32 = subgroupBroadcast(arg_0, arg_1);
- prevent_dce = res;
-}
-
-@group(2) @binding(0) var<storage, read_write> prevent_dce : f32;
-
-@compute @workgroup_size(1)
-fn compute_main() {
- subgroupBroadcast_867093();
-}
-
-Failed to generate: test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl:25:8 error: GLSL backend does not support extension 'chromium_experimental_subgroups'
-enable chromium_experimental_subgroups;
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl.expected.msl b/test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl.expected.msl
deleted file mode 100644
index 650c431..0000000
--- a/test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl.expected.msl
+++ /dev/null
@@ -1,20 +0,0 @@
-SKIP: FAILED
-
-
-enable chromium_experimental_subgroups;
-
-fn subgroupBroadcast_867093() {
- var arg_0 = 1.0f;
- const arg_1 = 1i;
- var res : f32 = subgroupBroadcast(arg_0, arg_1);
- prevent_dce = res;
-}
-
-@group(2) @binding(0) var<storage, read_write> prevent_dce : f32;
-
-@compute @workgroup_size(1)
-fn compute_main() {
- subgroupBroadcast_867093();
-}
-
-Failed to generate: error: Unknown import method: subgroupBroadcast
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl.expected.spvasm b/test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl.expected.spvasm
deleted file mode 100644
index eed3359..0000000
--- a/test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl.expected.spvasm
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-/build/dawn/src/tint/lang/spirv/writer/ast_printer/builder.cc:2580 internal compiler error: unknown method subgroupBroadcast
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl b/test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl
deleted file mode 100644
index c0e9958..0000000
--- a/test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2023 The Tint Authors.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-////////////////////////////////////////////////////////////////////////////////
-// File generated by 'tools/src/cmd/gen' using the template:
-// test/tint/builtins/gen/gen.wgsl.tmpl
-//
-// To regenerate run: './tools/run gen'
-//
-// Do not modify this file directly
-////////////////////////////////////////////////////////////////////////////////
-
-
-enable chromium_experimental_subgroups;
-
-// fn subgroupBroadcast(value: i32, @const sourceLaneIndex: i32) -> i32
-fn subgroupBroadcast_9ccdca() {
- var arg_0 = 1i;
- const arg_1 = 1i;
- var res: i32 = subgroupBroadcast(arg_0, arg_1);
- prevent_dce = res;
-}
-@group(2) @binding(0) var<storage, read_write> prevent_dce : i32;
-
-@compute @workgroup_size(1)
-fn compute_main() {
- subgroupBroadcast_9ccdca();
-}
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl.expected.dxc.hlsl
deleted file mode 100644
index 9f667dd..0000000
--- a/test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl.expected.dxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-/build/dawn/src/tint/lang/hlsl/writer/ast_printer/ast_printer.cc:2510 internal compiler error: TINT_UNREACHABLE unexpected subgroup builtin type subgroupBroadcast
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl.expected.fxc.hlsl
deleted file mode 100644
index 9f667dd..0000000
--- a/test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl.expected.fxc.hlsl
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-/build/dawn/src/tint/lang/hlsl/writer/ast_printer/ast_printer.cc:2510 internal compiler error: TINT_UNREACHABLE unexpected subgroup builtin type subgroupBroadcast
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl.expected.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl.expected.glsl
deleted file mode 100644
index a8d2d1e..0000000
--- a/test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl.expected.glsl
+++ /dev/null
@@ -1,23 +0,0 @@
-SKIP: FAILED
-
-
-enable chromium_experimental_subgroups;
-
-fn subgroupBroadcast_9ccdca() {
- var arg_0 = 1i;
- const arg_1 = 1i;
- var res : i32 = subgroupBroadcast(arg_0, arg_1);
- prevent_dce = res;
-}
-
-@group(2) @binding(0) var<storage, read_write> prevent_dce : i32;
-
-@compute @workgroup_size(1)
-fn compute_main() {
- subgroupBroadcast_9ccdca();
-}
-
-Failed to generate: test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl:25:8 error: GLSL backend does not support extension 'chromium_experimental_subgroups'
-enable chromium_experimental_subgroups;
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl.expected.msl b/test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl.expected.msl
deleted file mode 100644
index 421c573..0000000
--- a/test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl.expected.msl
+++ /dev/null
@@ -1,20 +0,0 @@
-SKIP: FAILED
-
-
-enable chromium_experimental_subgroups;
-
-fn subgroupBroadcast_9ccdca() {
- var arg_0 = 1i;
- const arg_1 = 1i;
- var res : i32 = subgroupBroadcast(arg_0, arg_1);
- prevent_dce = res;
-}
-
-@group(2) @binding(0) var<storage, read_write> prevent_dce : i32;
-
-@compute @workgroup_size(1)
-fn compute_main() {
- subgroupBroadcast_9ccdca();
-}
-
-Failed to generate: error: Unknown import method: subgroupBroadcast
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl.expected.spvasm b/test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl.expected.spvasm
deleted file mode 100644
index eed3359..0000000
--- a/test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl.expected.spvasm
+++ /dev/null
@@ -1,9 +0,0 @@
-SKIP: FAILED
-
-/build/dawn/src/tint/lang/spirv/writer/ast_printer/builder.cc:2580 internal compiler error: unknown method subgroupBroadcast
-********************************************************************
-* The tint shader compiler has encountered an unexpected error. *
-* *
-* Please help us fix this issue by submitting a bug report at *
-* crbug.com/tint with the source program that triggered the bug. *
-********************************************************************